diff --git a/Cargo.toml b/Cargo.toml index 0b9300d06..299cfa085 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -412,6 +412,10 @@ features = ["serde"] [workspace.dependencies.wiremock] version = "0.6.2" +[profile.release] +codegen-units = 1 # Reduce the number of codegen units to increase optimizations +lto = true # Enable fat LTO + # A few profile opt-level tweaks to make the test suite run faster [profile.dev.package] argon2.opt-level = 3