Reduce binary size

- Adjust `Cargo.toml` to reduce binary size in `release` pofile
This commit is contained in:
Candifloss 2025-12-12 19:15:58 +05:30
parent 17bc14e08e
commit 5571bf6db9

View File

@ -4,3 +4,10 @@ members = [
"owm_widg_config", "weatherd",
"widget",
]
[profile.release]
lto = "thin"
codegen-units = 1
strip = "symbols"
opt-level = "z"
panic = "abort"