We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc1c5c3 commit 5b1bd55Copy full SHA for 5b1bd55
tauri-todos/src-tauri/Cargo.toml
@@ -36,3 +36,10 @@ bytes = "1"
36
num_cpus = { version = "1.15.0" }
37
tokio-util = { version = "0.7" }
38
futures-lite = "2.3.0"
39
+
40
+[profile.release]
41
+panic = "abort" # Strip expensive panic clean-up logic
42
+codegen-units = 1 # Compile crates one after another so the compiler can optimize better
43
+lto = true # Enables link to optimizations
44
+opt-level = "s" # Optimize for binary size
45
+strip = true # Remove debug symbols
0 commit comments