From: Philippe Antoine Date: Thu, 3 Apr 2025 08:47:48 +0000 (+0200) Subject: rust: use flate2 with C zlib X-Git-Tag: suricata-8.0.0-rc1~461 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44c8632284a504cb6f99daaf4f18af189ce805d0;p=thirdparty%2Fsuricata.git rust: use flate2 with C zlib move flate2.rs to a backend supporting the setting of window_bits, which is not the case for miniz-oxide. This will allow WebSocket to use Sec-WebSocket-Extensions which can set a non-default window_bits --- diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in index e920212ef5..46fa85514e 100644 --- a/rust/Cargo.toml.in +++ b/rust/Cargo.toml.in @@ -48,7 +48,7 @@ num = "~0.2.1" num-derive = "~0.4.2" num-traits = "~0.2.14" widestring = "~0.4.3" -flate2 = "~1.0.19" +flate2 = { version = "~1.0.19", features = ["zlib"] } brotli = "~3.4.0" hkdf = "~0.12.3" aes = "~0.7.5"