Enable feature zlib-ng of flate2 so that zlib-ng is used

which is the fastest implementation flate2 supports.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-05-31 18:47:57 +10:00
parent 20b2c37ffb
commit fff4b72256
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -25,7 +25,7 @@ cargo_metadata = "0.14.2"
cargo_toml = "0.11.4"
crates_io_api = { version = "0.8.0", default-features = false, features = ["rustls"] }
dirs = "4.0.0"
flate2 = { version = "1.0.24" }
flate2 = { version = "1.0.24", features = ["zlib-ng"], default-features = false }
log = "0.4.14"
reqwest = { version = "0.11.10", features = [ "rustls-tls" ], default-features = false }
semver = "1.0.7"