diff --git a/rust/Cargo.toml.in b/rust/Cargo.toml.in index 4de22d526a..37fb990e73 100644 --- a/rust/Cargo.toml.in +++ b/rust/Cargo.toml.in @@ -33,6 +33,7 @@ rust-version = "1.85.0" 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" [lib] crate-type = ["staticlib", "rlib"] diff --git a/rust/suricatactl/Cargo.toml.in b/rust/suricatactl/Cargo.toml.in index 221df0f4a9..0a70d6c350 100644 --- a/rust/suricatactl/Cargo.toml.in +++ b/rust/suricatactl/Cargo.toml.in @@ -13,5 +13,5 @@ name = "suricatactl" regex = "~1.5.6" tracing = "0.1" tracing-subscriber = "0.3" -once_cell = { version = "1.21.3" } +once_cell.workspace = true clap.workspace = true diff --git a/rust/suricatasc/Cargo.toml.in b/rust/suricatasc/Cargo.toml.in index ab875dd965..40b670a0d9 100644 --- a/rust/suricatasc/Cargo.toml.in +++ b/rust/suricatasc/Cargo.toml.in @@ -13,7 +13,7 @@ name = "suricatasc" [dependencies] clap.workspace = true -once_cell = { version = "1.21.3" } +once_cell.workspace = true # Held at 14 to support Rust 1.75.0. rustyline = { version = "14.0.0" }