diff --git a/Cargo.toml b/Cargo.toml index 785692d0..a6b85db1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,7 @@ members = [ "crates/core", "crates/cli", ] + +[profile.release] +lto = true +opt-level = 3 diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index 2ae992bd..2ae0eb92 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -17,9 +17,5 @@ wee_alloc = "0.4.5" serde_json = { version = "1", optional = true } once_cell = "1.4.0" -[profile.release] -lto = true -opt-level = 3 - [features] json-io = ["serde_json"]