This commit is contained in:
me
2026-01-26 21:37:09 +08:00
parent 2c22685b68
commit 2b8f0892f4
5 changed files with 234 additions and 452 deletions

View File

@@ -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 # 自动移除调试符号