From 6ea567742b4f0daeda0a618d47164e9fbb7b9a46 Mon Sep 17 00:00:00 2001
From: GyDi <segydi@foxmail.com>
Date: Sun, 27 Mar 2022 01:38:40 +0800
Subject: [PATCH] chore: profile release

---
 src-tauri/Cargo.toml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 4ca393d..a121a0f 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -42,3 +42,9 @@ winreg = { version = "0.10", features = ["transactions"] }
 default = [ "custom-protocol" ]
 custom-protocol = [ "tauri/custom-protocol" ]
 verge-dev = []
+
+[profile.release]
+panic = "abort"
+codegen-units = 1
+lto = true
+opt-level = "s"
-- 
GitLab