diff --git a/openmetrics_udpserver/Cargo.toml b/openmetrics_udpserver/Cargo.toml index 3fa30e1..639625a 100644 --- a/openmetrics_udpserver/Cargo.toml +++ b/openmetrics_udpserver/Cargo.toml @@ -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