Skip to content

Commit 202c2fc

Browse files
build: optimization
1 parent fbc2ce0 commit 202c2fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ tower = "0.4.13"
2626
tower-http = { version = "0.5.0", features = ["cors", "trace"] }
2727
tracing = "0.1"
2828
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
29+
30+
[profile.release]
31+
lto = true
32+
codegen-units = 1

0 commit comments

Comments
 (0)