summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJovansonlee Cesar <ivanceras@gmail.com>2022-02-07 21:01:08 +0800
committerJovansonlee Cesar <ivanceras@gmail.com>2022-02-07 21:01:08 +0800
commit6514644ad620afa93a543092e19171341bdd7736 (patch)
treeecebad0aef5c04ebaae3cb690d018943ead06197
parent2208804bd5e85d2c23a693cda2fb25304855130a (diff)
refactor: move the profile to the workspace level cargo.toml
-rw-r--r--Cargo.toml6
-rw-r--r--packages/cli/Cargo.toml1
2 files changed, 6 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 3e3d545..16f937b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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"
-