minimize release size

This commit is contained in:
b1ek 2023-08-12 02:41:09 +10:00
parent 5c1cdd25bf
commit 0474815937
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 8 additions and 1 deletions

View File

@ -14,10 +14,17 @@ tauri-build = { version = "1.4", features = [] }
[dependencies] [dependencies]
tauri = { version = "1.4", features = [ "window-maximize", "window-show", "window-unmaximize", "window-close", "window-minimize", "window-hide", "window-start-dragging", "window-unminimize", "shell-open"] } tauri = { version = "1.4", features = [ "window-maximize", "window-show", "window-unmaximize", "window-close", "window-minimize", "window-hide", "window-start-dragging", "window-unminimize", "shell-open"] }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0" serde_json = "1.0"
[features] [features]
# this feature is used for production builds or when `devPath` points to the filesystem # this feature is used for production builds or when `devPath` points to the filesystem
# DO NOT REMOVE!! # DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"] custom-protocol = ["tauri/custom-protocol"]
[profile.release]
lto = true
opt-level = "z"
strip = true
codegen-units = 1
panic = "abort"