From d8e310f50165e5841a7759800457cfdbf01d505c Mon Sep 17 00:00:00 2001 From: Peter Schwarz Date: Wed, 14 Aug 2019 15:07:42 -0500 Subject: [PATCH 1/2] 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 79d7117b4bd..3b4378770d6 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"] From 54bcbef712db672a7865933b805e89fea6c58ee9 Mon Sep 17 00:00:00 2001 From: Peter Schwarz Date: Wed, 14 Aug 2019 16:09:17 -0500 Subject: [PATCH 2/2] Update changes with flate2/libc fix Signed-off-by: Peter Schwarz --- actix-http/CHANGES.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/actix-http/CHANGES.md b/actix-http/CHANGES.md index c8d1b2ae8da..2b55dc6dbfb 100644 --- a/actix-http/CHANGES.md +++ b/actix-http/CHANGES.md @@ -1,5 +1,11 @@ # Changes +## [0.2.10] - unreleased + +### Fixed + +* Add flate2/libc feature for flate2-zlib to fix compliation issue + ## [0.2.9] - 2019-08-13 ### Changed