1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2025-04-10 11:54:06 +00:00

Add flate2/libc feature for flate2-zlib

Due to a change in flate2 1.0.10, when "default-features" is false, it
is now required to specfy "libc" when specifying the "miniz-sys"
feature, in order to compile correctly.

Signed-off-by: Peter Schwarz <pschwarz@bitwise.io>
This commit is contained in:
Peter Schwarz 2019-08-14 15:07:42 -05:00
parent 979c4d44f4
commit d8e310f501

View file

@ -35,7 +35,7 @@ rust-tls = ["rustls", "webpki-roots", "actix-connect/rust-tls"]
brotli = ["brotli2"]
# miniz-sys backend for flate2 crate
flate2-zlib = ["flate2/miniz-sys"]
flate2-zlib = ["flate2/miniz-sys", "flate2/libc"]
# rust backend for flate2 crate
flate2-rust = ["flate2/rust_backend"]