From d8e310f50165e5841a7759800457cfdbf01d505c Mon Sep 17 00:00:00 2001 From: Peter Schwarz Date: Wed, 14 Aug 2019 15:07:42 -0500 Subject: [PATCH] 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 --- actix-http/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-http/Cargo.toml b/actix-http/Cargo.toml index 79d7117b4..3b4378770 100644 --- a/actix-http/Cargo.toml +++ b/actix-http/Cargo.toml @@ -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"]