We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09f0ca2 commit 7ac5cacCopy full SHA for 7ac5cac
1 file changed
templates/_base_/src-tauri/Cargo.toml.lte
@@ -30,3 +30,11 @@ serde_json = "1"
30
[features]
31
# This feature is used for production builds or when a dev server is not specified, DO NOT REMOVE!!
32
custom-protocol = ["tauri/custom-protocol"]{% endif %}
33
+
34
+# Read the optimization guideline for more details: https://tauri.app/concept/size/#cargo-configuration
35
+[profile.release]
36
+codegen-units = 1
37
+lto = true
38
+opt-level = 3
39
+panic = "abort"
40
+strip = true
0 commit comments