Skip to content

Commit

Permalink
build: optimize release build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Veirt committed Aug 2, 2024
1 parent 7da447c commit 28f1a40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ thiserror = "1.0.63"
tokio = { version = "1.39.1", features = ["rt-multi-thread"] }
toml = { version = "0.8.16", features = ["preserve_order"] }
tower-http = { version = "0.5.2", features = ["fs"] }

[profile.release]
strip = true
opt-level = 2
lto = true
codegen-units = 1

0 comments on commit 28f1a40

Please sign in to comment.