Optimize for filesize in release mode
This commit is contained in:
parent
c01e23adc3
commit
53bbc022a3
1 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,11 @@ crate-type = ["lib"]
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "xpkey"
|
name = "xpkey"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
[profile.release]
|
||||||
|
strip = true
|
||||||
|
opt-level = "z"
|
||||||
|
lto = true
|
||||||
|
codegen-units = 1
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.71"
|
anyhow = "1.0.71"
|
||||||
|
|
Loading…
Add table
Reference in a new issue