diff --git a/Cargo.toml b/Cargo.toml index d4888739..84e93bd5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"