From 47aa137c229c417b194bf1031ff702a04f52d35a Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 4 Dec 2022 03:55:36 +0100 Subject: [PATCH] Cargo.toml: fix by moving optimization config to project root --- Cargo.toml | 6 ++++++ gatherer/Cargo.toml | 6 ------ hunter/Cargo.toml | 6 ------ smokestack/Cargo.toml | 6 ------ 4 files changed, 6 insertions(+), 18 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6416457..91b9ec3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,9 @@ members = [ "gatherer", "smokestack", ] + +[profile.release] +codegen-units = 1 +lto = true +strip = true +panic = "abort" diff --git a/gatherer/Cargo.toml b/gatherer/Cargo.toml index 1c8a2ee..d14f624 100644 --- a/gatherer/Cargo.toml +++ b/gatherer/Cargo.toml @@ -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" diff --git a/hunter/Cargo.toml b/hunter/Cargo.toml index 6b5589e..827ffbf 100644 --- a/hunter/Cargo.toml +++ b/hunter/Cargo.toml @@ -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" diff --git a/smokestack/Cargo.toml b/smokestack/Cargo.toml index ee9611c..db21860 100644 --- a/smokestack/Cargo.toml +++ b/smokestack/Cargo.toml @@ -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"