From fff4b7225613351a9bbf17c3077d704384c58047 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Tue, 31 May 2022 18:47:57 +1000 Subject: [PATCH] Enable feature zlib-ng of flate2 so that zlib-ng is used which is the fastest implementation flate2 supports. Signed-off-by: Jiahao XU --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 72bbf125..f2009264 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"