diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 6b307a41..0ee313a5 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -12,3 +12,8 @@ resolver = "2" [patch.crates-io] onig = { git = "https://github.com/rust-onig/rust-onig", default-features = false } + +[profile.release] +strip = true +opt-level = "z" +codegen-units = 1 \ No newline at end of file