improve profile and upgrade zip 2.2.3 , chrono 0.4.40

This commit is contained in:
houseme
2025-02-27 22:38:55 +08:00
parent dc3ab0ee55
commit de3dd17417
3 changed files with 27 additions and 29 deletions
-19
View File
@@ -21,30 +21,11 @@ tracing-subscriber = { workspace = true, features = ["fmt", "env-filter", "traci
tracing-appender = { workspace = true }
zip = { workspace = true }
[features]
default = ["desktop"]
web = ["dioxus/web"]
desktop = ["dioxus/desktop"]
mobile = ["dioxus/mobile"]
[profile]
[profile.wasm-dev]
inherits = "dev"
opt-level = 1
[profile.server-dev]
inherits = "dev"
[profile.android-dev]
inherits = "dev"
[profile.release]
opt-level = 3 # Optimization Level (0-3)
lto = true # Optimize when linking
codegen-units = 1 # Reduce code generation units to improve optimization
[lints]
workspace = true