better release profile

This commit is contained in:
Emma Tebibyte 2022-12-17 23:07:13 -05:00
parent 9728ed68f3
commit 14d02fe692
1 changed files with 16 additions and 0 deletions

16
Cargo.toml Normal file
View File

@ -0,0 +1,16 @@
[package]
name = "tomcat"
version = "0.0.1"
edition = "2021"
license = "AGPL-3.0-or-later"
authors = [ "Emma Tebibyte <emma@tebibyte.media>" ]
[dependencies]
toml = "0.5.9"
[profile.release]
strip = true # strip symbols from the binary
opt-level = "z" # optimize for size
lto = true # link time optimization
codegen-units = 1 # decrease parallelization
panic = "abort"