add dist profile

master
Rasmus Rosengren 2 years ago
parent 9d4acfb719
commit e6470fc10a
Signed by: rsrp
SSH Key Fingerprint: SHA256:vdAo4Qg/MlIkxR5BRTABqMRJ1sGSVlUcIciriaE3cNU
  1. 7
      Cargo.toml

@ -4,6 +4,13 @@ version = "0.2.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dist]
strip = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
[dependencies]
anyhow = "1.0"
clap = { version = "4.1.8", features = ["derive"] }

Loading…
Cancel
Save