Reduce binary size
- Adjust `Cargo.toml` to reduce binary size in `release` pofile
This commit is contained in:
parent
17bc14e08e
commit
5571bf6db9
@ -4,3 +4,10 @@ members = [
|
|||||||
"owm_widg_config", "weatherd",
|
"owm_widg_config", "weatherd",
|
||||||
"widget",
|
"widget",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
lto = "thin"
|
||||||
|
codegen-units = 1
|
||||||
|
strip = "symbols"
|
||||||
|
opt-level = "z"
|
||||||
|
panic = "abort"
|
||||||
Loading…
x
Reference in New Issue
Block a user