Skip to content

Commit

Permalink
improve release build profile
Browse files Browse the repository at this point in the history
  • Loading branch information
derklaro committed Oct 20, 2023
1 parent 163de71 commit c03782c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions openmetrics_udpserver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,10 @@ openmetrics_udpserver_lib = { path = "../openmetrics_udpserver_lib" }
# servedensity specific deps
md5 = "0.7.*"
reqwest = { version = "0.11.*", default-features = false, features = ["rustls-tls", "rustls-tls-native-roots", "blocking"] }

[profile.release]
lto = true
strip = true
panic = 'abort'
opt-level = 'z'
codegen-units = 1

0 comments on commit c03782c

Please sign in to comment.