]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust: use flate2 with C zlib
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 3 Apr 2025 08:47:48 +0000 (10:47 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 18 Apr 2025 10:52:19 +0000 (12:52 +0200)
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

rust/Cargo.toml.in

index e920212ef517c41894e0dcd02b0314772044f74b..46fa85514ef54dbf6fb7dd7b4ef7ad94b55fbfa2 100644 (file)
@@ -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"