reduce release binary size

main
Inga 🏳‍🌈 1 year ago
parent 4280d1e6c6
commit 3e77676495
  1. 12
      hostnames_allocator/Cargo.toml

@ -5,9 +5,19 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
lto = true
codegen-units = 1
opt-level = "s"
strip = true
[dependencies] [dependencies]
lazy_static = "1.4.0" lazy_static = "1.4.0"
regex = "1.10.2"
[dependencies.regex]
version = "1.10.2"
default-features = false
features = ["std"]
[dev-dependencies] [dev-dependencies]
itertools = "0.11.0" itertools = "0.11.0"

Loading…
Cancel
Save