feat: reduce parrelization, maximize LTO
this reduces the binary size from 22MB to 15MB (via `nix build`, as reported by `eza`)
This commit is contained in:
parent
3fa2163366
commit
ba96aa4d6b
1 changed files with 4 additions and 0 deletions
|
|
@ -12,3 +12,7 @@ sysinfo = "0.39.6"
|
||||||
[dependencies.iced]
|
[dependencies.iced]
|
||||||
version = "0.14.0"
|
version = "0.14.0"
|
||||||
features = [ "canvas", "smol" ]
|
features = [ "canvas", "smol" ]
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
lto = true
|
||||||
|
codegen-units = 1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue