Skip to content

Commit 845f16a

Browse files
authored
Enable LTO for warp-rust (#6310)
1 parent 5ffa0dd commit 845f16a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

frameworks/Rust/warp-rust/Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ tokio = { version = "1.0.2", features = ["macros", "rt-multi-thread"] }
1212
tokio-postgres = "0.7.0"
1313
warp = "0.3.0"
1414
yarte = "0.14.1"
15+
16+
[profile.release]
17+
codegen-units = 1
18+
opt-level = 3
19+
lto = true

0 commit comments

Comments
 (0)