diff --git a/dotlottie-ffi/Cargo.toml b/dotlottie-ffi/Cargo.toml index 945682d4..bb1b13b3 100644 --- a/dotlottie-ffi/Cargo.toml +++ b/dotlottie-ffi/Cargo.toml @@ -6,6 +6,9 @@ build = "build.rs" [profile.release] lto = true +opt-level = "z" +strip = true +codegen-units = 1 [lib] crate-type = ["staticlib", "cdylib", "rlib"]