diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in index 37fb990e73..3a0bf8cd96 100644 --- a/rust/Cargo.toml.in +++ b/rust/Cargo.toml.in @@ -34,6 +34,7 @@ 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"] } once_cell = "1.21.3" +regex = "~1.5.6" [lib] crate-type = ["staticlib", "rlib"] @@ -86,7 +87,7 @@ sha2 = "~0.10.9" digest = "~0.10.7" sha1 = "~0.10.6" md-5 = "~0.10.6" -regex = "~1.5.6" +regex.workspace = true lazy_static = "~1.5.0" base64 = "~0.22.1" bendy = { version = "~0.3.3", default-features = false } diff --git a/rust/suricatactl/Cargo.toml.in b/rust/suricatactl/Cargo.toml.in index 0a70d6c350..b7fe9dbfd0 100644 --- a/rust/suricatactl/Cargo.toml.in +++ b/rust/suricatactl/Cargo.toml.in @@ -10,7 +10,7 @@ description = "Suricata control tools" name = "suricatactl" [dependencies] -regex = "~1.5.6" +regex.workspace = true tracing = "0.1" tracing-subscriber = "0.3" once_cell.workspace = true