Skip to content

Commit e5a4cbb

Browse files
committed
chore: enable optimizations in release profile
Enable Link Time Optimization (LTO), strip debug symbols, and set the optimization level to 3 in the release profile to improve performance and reduce binary size. Signed-off-by: Marcelo Borges <[email protected]>
1 parent 105c2f4 commit e5a4cbb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,8 @@ tokio = { version = "1.43.0", features = [
2727
"rt-multi-thread",
2828
"macros",
2929
] }
30+
31+
[profile.release]
32+
lto = true
33+
strip = true
34+
opt-level = 3

0 commit comments

Comments
 (0)