diff --git a/Cargo.toml b/Cargo.toml index 3e031d2..b28f1c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,8 +7,16 @@ edition = "2021" crate-type = ["cdylib", "rlib"] [profile.release] +# This removes more dead code +codegen-units = 1 lto = true +# Optimize for size +opt-level = "s" + +# Strip debug symbols +strip = "symbols" + [dependencies] pathdiff = "0.2"