Skip to content

Commit ac0bb47

Browse files
committed
Auto merge of #6317 - alexcrichton:zlib, r=dwijnand
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.
2 parents 51d541f + d9eca8c commit ac0bb47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ curl-sys = "0.4.15"
2727
env_logger = "0.6.0"
2828
failure = "0.1.2"
2929
filetime = "0.2"
30-
flate2 = "1.0.3"
30+
flate2 = { version = "1.0.3", features = ['zlib'] }
3131
fs2 = "0.4"
3232
git2 = "0.7.5"
3333
git2-curl = "0.8.1"

0 commit comments

Comments
 (0)