mirror of https://github.com/rapiz1/rathole.git
feat: opt binary size for `minimal` profile
This commit is contained in:
parent
21e63fe10e
commit
467afe279a
|
@ -16,12 +16,18 @@ tls = ["tokio-native-tls"]
|
|||
noise = ["snowstorm", "base64"]
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
||||
[profile.bench]
|
||||
debug = 1
|
||||
|
||||
[profile.minimal]
|
||||
inherits = "release"
|
||||
opt-level = "s"
|
||||
opt-level = "z"
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
|
|
Loading…
Reference in New Issue