minimize release size
This commit is contained in:
parent
5c1cdd25bf
commit
0474815937
|
@ -14,10 +14,17 @@ tauri-build = { version = "1.4", features = [] }
|
|||
|
||||
[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"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde = { version = "1.0", features = [ "derive" ] }
|
||||
serde_json = "1.0"
|
||||
|
||||
[features]
|
||||
# this feature is used for production builds or when `devPath` points to the filesystem
|
||||
# DO NOT REMOVE!!
|
||||
custom-protocol = ["tauri/custom-protocol"]
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
opt-level = "z"
|
||||
strip = true
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
|
|
Loading…
Reference in New Issue