mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 22:30:03 +00:00
Add new feature zlib-ng (enabeld by default)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
f2d5d0291b
commit
6fe2762f11
1 changed files with 3 additions and 2 deletions
|
@ -26,7 +26,7 @@ cargo_toml = "0.11.4"
|
|||
clap = { version = "3.2.12", features = ["derive"] }
|
||||
crates_io_api = { version = "0.8.0", default-features = false, features = ["rustls"] }
|
||||
dirs = "4.0.0"
|
||||
flate2 = { version = "1.0.24", features = ["zlib-ng"], default-features = false }
|
||||
flate2 = { version = "1.0.24", default-features = false }
|
||||
fs4 = "0.6.2"
|
||||
futures-util = { version = "0.3.21", default-features = false }
|
||||
home = "0.5.3"
|
||||
|
@ -69,10 +69,11 @@ zstd = { version = "0.10.0", default-features = false }
|
|||
guess_host_triple = "0.1.3"
|
||||
|
||||
[features]
|
||||
default = ["static"]
|
||||
default = ["static", "zlib-ng"]
|
||||
mimalloc = ["dep:mimalloc"]
|
||||
static = ["bzip2/static", "xz2/static"]
|
||||
pkg-config = ["zstd/pkg-config"]
|
||||
zlib-ng = ["flate2/zlib-ng"]
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.9.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue