feat: add release build optimizations

This commit is contained in:
Christof Weickhardt 2022-04-29 09:40:39 +00:00
parent 77f51aff84
commit 61bf80ba06

View file

@ -18,6 +18,12 @@ pkg-fmt = "zip"
[package.metadata.binstall.overrides.x86_64-apple-darwin] [package.metadata.binstall.overrides.x86_64-apple-darwin]
pkg-fmt = "zip" pkg-fmt = "zip"
# makes sure release builds are well optimized
[profile.release]
lto = "fat"
codegen-units = 1
debug = true
[dependencies] [dependencies]
anyhow = "1.0.57" anyhow = "1.0.57"
async-trait = "0.1.52" async-trait = "0.1.52"