*/Cargo.toml: add optimization flags

This commit is contained in:
Astro 2022-12-03 01:51:38 +01:00
parent c1d2c3786d
commit 908fb9c8d3
3 changed files with 18 additions and 0 deletions

View File

@ -17,3 +17,9 @@ axum = "0.5"
axum-macros = "0.2"
axum-extra = { version = "0.3", features = ["spa"] }
askama = "0.11"
[profile.release]
codegen-units = 1
lto = true
strip = true
panic = "abort"

View File

@ -19,3 +19,9 @@ texting_robots = "0.2"
[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = "0.5"
[profile.release]
codegen-units = 1
lto = true
strip = true
panic = "abort"

View File

@ -12,3 +12,9 @@ serde_json = "1"
log = "0.4"
cave = { path = "../cave" }
ansi_term = "0.12"
[profile.release]
codegen-units = 1
lto = true
strip = true
panic = "abort"