--- a/Cargo.toml +++ b/Cargo.toml @@ -57,6 +57,9 @@ [profile.release] # Enable LTO for release builds; makes the binary a lot smaller lto = true +codegen-units = 1 +opt-level = "z" +panic = "abort" [package.metadata.release] allow-branch = ["main"]