From 773828ce3475e8a352b5e91f1af9c6f19c0db321 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Wed, 14 Oct 2026 17:00:50 -0600 Subject: [PATCH] rust: hoist flate2 dependency into workspace --- rust/Cargo.toml.in | 3 ++- rust/htp/Cargo.toml.in | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in index 279d186e33..0a3c5a578f 100644 --- a/rust/Cargo.toml.in +++ b/rust/Cargo.toml.in @@ -34,6 +34,7 @@ base64 = "~0.22.1" brotli = "~8.0.1" # clap 4.5.58 requires clap_lex 1 which requires edition2024 clap = { version = "=4.5.57", default-features = false, features = ["std", "derive", "help", "usage"] } +flate2 = { version = "~1.0.35", features = ["zlib-default"], default-features = false } lazy_static = "~1.5.0" libc = "~0.2.172" lzma-rs = { version = "~0.2.0", features = ["stream"] } @@ -72,7 +73,7 @@ num = "~0.2.1" num-derive = "~0.4.2" num-traits = "~0.2.19" widestring = "~0.4.3" -flate2 = { version = "~1.0.35", features = ["zlib"] } +flate2.workspace = true brotli.workspace = true zstd.workspace = true hkdf = "~0.12.4" diff --git a/rust/htp/Cargo.toml.in b/rust/htp/Cargo.toml.in index f589f4e1e5..c53e215838 100644 --- a/rust/htp/Cargo.toml.in +++ b/rust/htp/Cargo.toml.in @@ -27,7 +27,7 @@ bstr = "1.12.0" libc.workspace = true nom = "8.0.0" lzma-rs.workspace = true -flate2 = { version = "~1.0.35", features = ["zlib-default"], default-features = false } +flate2.workspace = true brotli.workspace = true zstd.workspace = true lazy_static.workspace = true