Skip to content

Commit

Permalink
Enable the zlib feature of flate2
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alexcrichton committed Nov 14, 2018
1 parent 51d541f commit d9eca8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d9eca8c

Please sign in to comment.