manifest: Binary size optimizations

This worked like magic! The release binaries went from ~5MB to ~800KB.
This is going in a new release.
This commit is contained in:
Lux Aliaga 2022-09-28 22:02:07 -03:00
parent 26cbbef870
commit 56ecc7d580
Signed by: lux
GPG Key ID: B56C805968637437
1 changed files with 7 additions and 0 deletions

View File

@ -26,3 +26,10 @@ config = "0.13.1"
[build-dependencies]
man = "0.3.0"
anyhow = "1.0.65"
[profile.release]
strip = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"