diff --git a/Cargo.toml b/Cargo.toml index 6ca178ddd..93e03389b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,9 @@ members = [ "theseus_cli", "theseus_gui/src-tauri" ] + +# Optimize for speed and reduce size on release builds +[profile.release] +codegen-units = 1 +lto = true +strip = true \ No newline at end of file