mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-10 08:58:15 +08:00
👷 增加 profile.release 配置
https://course.rs/cargo/reference/profiles.html
This commit is contained in:
@@ -31,6 +31,13 @@ features = ["sqlite"]
|
||||
[dependencies.tauri-plugin-deep-link]
|
||||
version = "0.1.2"
|
||||
|
||||
# 用于打包
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
lto = true
|
||||
opt-level = "s"
|
||||
panic = "abort"
|
||||
|
||||
[features]
|
||||
# this feature is used for production builds or when `devPath` points to the filesystem
|
||||
# DO NOT REMOVE!!
|
||||
|
||||
Reference in New Issue
Block a user