diff --git a/kanidm_unix_int/Cargo.toml b/kanidm_unix_int/Cargo.toml index 94bc11d32..39a9cd187 100644 --- a/kanidm_unix_int/Cargo.toml +++ b/kanidm_unix_int/Cargo.toml @@ -9,7 +9,8 @@ documentation = "https://docs.rs/kanidm/latest/kanidm/" homepage = "https://github.com/kanidm/kanidm/" repository = "https://github.com/kanidm/kanidm/" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[profile.release] +lto = "thin" [lib] name = "kanidm_unix_common" diff --git a/kanidmd/Cargo.toml b/kanidmd/Cargo.toml index 2a710d86c..ae5c8ee4d 100644 --- a/kanidmd/Cargo.toml +++ b/kanidmd/Cargo.toml @@ -9,6 +9,9 @@ documentation = "https://docs.rs/kanidm/latest/kanidm/" homepage = "https://github.com/kanidm/kanidm/" repository = "https://github.com/kanidm/kanidm/" +[profile.release] +lto = "thin" + [lib] name = "kanidm" path = "src/lib/lib.rs"