diff options
author | Jovansonlee Cesar <ivanceras@gmail.com> | 2022-02-07 21:01:08 +0800 |
---|---|---|
committer | Jovansonlee Cesar <ivanceras@gmail.com> | 2022-02-07 21:01:08 +0800 |
commit | 6514644ad620afa93a543092e19171341bdd7736 (patch) | |
tree | ecebad0aef5c04ebaae3cb690d018943ead06197 | |
parent | 2208804bd5e85d2c23a693cda2fb25304855130a (diff) |
refactor: move the profile to the workspace level cargo.toml
-rw-r--r-- | Cargo.toml | 6 | ||||
-rw-r--r-- | packages/cli/Cargo.toml | 1 |
2 files changed, 6 insertions, 1 deletions
@@ -8,3 +8,9 @@ members = [ #mt-dom = { git = "https://github.com/ivanceras/mt-dom.git", branch = "master" } #sauron = { git = "https://github.com/ivanceras/sauron.git", branch = "develop" } #jss = { path = "../jss" } + +[profile.release] +opt-level = 3 +lto = true +codegen-units = 1 + diff --git a/packages/cli/Cargo.toml b/packages/cli/Cargo.toml index d4252bf..022ac04 100644 --- a/packages/cli/Cargo.toml +++ b/packages/cli/Cargo.toml @@ -18,4 +18,3 @@ clap = "2.16" #name = "svgbob" #path = "src/main.rs" - |