diff --git a/relay-cabi/Cargo.toml b/relay-cabi/Cargo.toml index 60fc6229a81..f5d34cd8eef 100644 --- a/relay-cabi/Cargo.toml +++ b/relay-cabi/Cargo.toml @@ -9,6 +9,11 @@ edition = "2021" license-file = "../LICENSE.md" publish = false +[profile.release] +debug = false +strip = true +lto = true + [lib] crate-type = ["cdylib"]