diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 678488c..b45929c 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -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"