From d9eca8c764eb147d4616c6c32d6be380b9aedcf2 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 14 Nov 2018 07:56:43 -0800 Subject: [PATCH] Enable the `zlib` feature of `flate2` We're already pulling in zlib for other dependencies like curl/libgit2 so there's not really much use in duplicating the compression code with miniz, so let's instruct `flate2` to use libz as well to compress and decompress chunks. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 124afaa3d0f..8c3065fb162 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ curl-sys = "0.4.15" env_logger = "0.6.0" failure = "0.1.2" filetime = "0.2" -flate2 = "1.0.3" +flate2 = { version = "1.0.3", features = ['zlib'] } fs2 = "0.4" git2 = "0.7.5" git2-curl = "0.8.1"