diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in index 4813d756a6..dec0405b13 100644 --- a/rust/Cargo.toml.in +++ b/rust/Cargo.toml.in @@ -29,6 +29,9 @@ license = "GPL-2.0-only" edition = "2021" rust-version = "1.85.0" +[workspace.dependencies] +brotli = "~8.0.1" + [lib] crate-type = ["staticlib", "rlib"] name = "suricata" @@ -57,7 +60,7 @@ num-derive = "~0.4.2" num-traits = "~0.2.19" widestring = "~0.4.3" flate2 = { version = "~1.0.35", features = ["zlib"] } -brotli = "~8.0.1" +brotli.workspace = true zstd = { version = "~0.13.3", default-features = false, features = ["arrays", "zdict_builder"] } hkdf = "~0.12.4" aes = "~0.8.4" diff --git a/rust/htp/Cargo.toml.in b/rust/htp/Cargo.toml.in index 0f9f20ce1d..9f3c6a45e1 100644 --- a/rust/htp/Cargo.toml.in +++ b/rust/htp/Cargo.toml.in @@ -28,7 +28,7 @@ libc = "0.2" nom = "8.0.0" lzma-rs = { version = "0.2.0", features = ["stream"] } flate2 = { version = "~1.0.35", features = ["zlib-default"], default-features = false } -brotli = "~8.0.1" +brotli.workspace = true zstd = { version = "~0.13.3", default-features = false, features = ["arrays", "zdict_builder"] } lazy_static = "1.5.0" time = "~0.3.41"