diff --git a/Cargo.toml b/Cargo.toml index b2ec37f..7cf7f47 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,4 +64,10 @@ winreg = "^0.10.1" [features] # This feature is enabled when building for a flatpak environment -flatpak = [] \ No newline at end of file +flatpak = [] + +[profile.release] +strip = true # Automatically strip symbols from the binary. +opt-level = "z" # Optimize for size. +lto = true +codegen-units = 1 \ No newline at end of file