diff --git a/smart-house-web/Cargo.toml b/smart-house-web/Cargo.toml index bfe32f6..dfc365c 100644 --- a/smart-house-web/Cargo.toml +++ b/smart-house-web/Cargo.toml @@ -2,4 +2,14 @@ resolver = "3" members = ["backend"] +[profile.release] +opt-level = "z" +strip = "symbols" +lto = "fat" +panic = "abort" +codegen-units = 1 +overflow-checks = false +debug-assertions = false +incremental = false + [workspace.dependencies] diff --git a/smart-house-web/backend/Cargo.toml b/smart-house-web/backend/Cargo.toml index 86d8ca5..d64875f 100644 --- a/smart-house-web/backend/Cargo.toml +++ b/smart-house-web/backend/Cargo.toml @@ -3,18 +3,6 @@ name = "backend" version = "0.1.0" edition = "2024" -[profile.release] -opt-level = "s" -strip = "symbols" -lto = true -panic = "abort" -codegen-units = 1 - -[profile.release.build-override] -opt-level = "s" -strip = "symbols" -codegen-units = 1 - [dependencies] tracing = "0.1" tracing-subscriber = "0.3"