-
This commit is contained in:
@@ -4,7 +4,14 @@ version = "0.0.1"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
slint = { version = "1.14" }
|
||||
slint = { version = "1.14", default-features = false, features = ["backend-winit", "renderer-femtovg", "compat-1-2"] }
|
||||
|
||||
[build-dependencies]
|
||||
slint-build = "1.14"
|
||||
|
||||
|
||||
[profile.release]
|
||||
opt-level = 'z' # 优化代码体积
|
||||
lto = true # 开启链接时优化
|
||||
codegen-units = 1 # 牺牲编译速度换取更好的代码质量
|
||||
strip = true # 自动移除调试符号
|
||||
Reference in New Issue
Block a user