Minimize size of the resulting binary: 21572 -> 17616 kiB. --- a/Cargo.toml +++ b/Cargo.toml @@ -73,6 +73,8 @@ [profile.release] lto = true codegen-units = 1 +opt-level = "z" +panic = "abort" [profile.dev] # Disabling debug info speeds up builds a bunch,