Add optimization to Cargo.toml
This commit is contained in:
parent
b3ffca0d67
commit
e2f2f93750
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue