From e2f2f93750c40efc99510dcab8be0135a379fec1 Mon Sep 17 00:00:00 2001 From: ClementTsang Date: Sat, 4 Jan 2020 16:07:35 -0500 Subject: [PATCH] Add optimization to Cargo.toml --- Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 "] 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"