cargo: optimise for smaller binary sizes

This commit is contained in:
Muhammad Nauman Raza 2024-03-21 21:54:11 +00:00
parent 91b3da7f97
commit a51d56d5a0
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

@ -7,6 +7,13 @@ description = "A simple, featureful and blazingly fast memory-safe alternative t
readme = "README.md" readme = "README.md"
license = "MIT" license = "MIT"
[profile.release]
strip = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
[dependencies] [dependencies]
clap = { version = "4.5.2", features = ["derive"] } clap = { version = "4.5.2", features = ["derive"] }
colored = "2.1.0" colored = "2.1.0"