summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClementTsang <clementjhtsang@gmail.com>2020-01-04 16:07:35 -0500
committerClementTsang <clementjhtsang@gmail.com>2020-01-04 16:07:35 -0500
commite2f2f93750c40efc99510dcab8be0135a379fec1 (patch)
tree3f63207eafc17d4a10f6c34cb0f0852e59287fbe
parentb3ffca0d67a3b86714536738313cf1d23ba80d35 (diff)
Add optimization to Cargo.toml
-rw-r--r--Cargo.toml7
1 files changed, 6 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f1920406..c5a466d0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "bottom"
-version = "0.1.1-alpha.0"
+version = "0.1.1"
authors = ["Clement Tsang <clementjhtsang@gmail.com>"]
edition = "2018"
repository = "https://github.com/ClementTsang/bottom"
@@ -14,6 +14,11 @@ readme = "README.md"
name = "btm"
path = "src/main.rs"
+[profile.release]
+debug = 1
+opt-level = 'z' # Optimize for size.
+lto = true
+
[dependencies]
chrono = "0.4.10"
clap = "2.33.0"