Merge pull request #33 from reiseburo/smaller-release

Optimize the size of the release binary
This commit is contained in:
R Tyler Croy 2020-05-29 16:12:24 -07:00 committed by GitHub
commit 8f6ae815f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -64,3 +64,12 @@ chrono = "~0.4.11"
uuid = { version = "~0.8.1", features = ["v4"] }
async-trait = "0.1.31"
# Optimize the heck out of the release build, I have no idea what these flags
# do
[profile.release]
panic = "abort"
lto = true
codegen-units=1
opt-level="s"