add build optimizations

This commit is contained in:
vvm 2023-06-24 02:32:57 +04:00
parent 349f7ae965
commit b83664dfce

View File

@ -23,4 +23,10 @@ tauri = { version = "1.4.0", features = [] }
# this feature is used for production builds or when `devPath` points to the filesystem and the built-in dev server is disabled.
# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.
# DO NOT REMOVE!!
custom-protocol = [ "tauri/custom-protocol" ]
custom-protocol = ["tauri/custom-protocol"]
[profile.release]
panic = "abort"
codegen-units = 1
lto = true
opt-level = "s"