Cargo.toml: fix by moving optimization config to project root

This commit is contained in:
Astro 2022-12-04 03:55:36 +01:00
parent ea0fe54106
commit 47aa137c22
4 changed files with 6 additions and 18 deletions

View File

@ -5,3 +5,9 @@ members = [
"gatherer",
"smokestack",
]
[profile.release]
codegen-units = 1
lto = true
strip = true
panic = "abort"

View File

@ -17,9 +17,3 @@ 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,9 +19,3 @@ 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,9 +12,3 @@ serde_json = "1"
log = "0.4"
cave = { path = "../cave" }
ansi_term = "0.12"
[profile.release]
codegen-units = 1
lto = true
strip = true
panic = "abort"