rust: pin once_cell to work with Rust 1.67.1

Clap uses once_cell which recently released v1.20 which updated its
MSRV to 1.70. Locally pin once_cell to 1.20.3 to maintain our MSRV.
pull/12757/head
Jason Ish 7 months ago
parent 559e4ce062
commit 66e47a1983

@ -1361,6 +1361,7 @@ name = "suricatactl"
version = "8.0.0-dev"
dependencies = [
"clap",
"once_cell",
"regex",
"tracing",
"tracing-subscriber",
@ -1371,6 +1372,7 @@ name = "suricatasc"
version = "8.0.0-dev"
dependencies = [
"clap",
"once_cell",
"rustyline",
"rustyline-derive",
"serde",

@ -14,3 +14,6 @@ tracing-subscriber = "0.3"
# 4.0 is the newest version that builds with Rust 1.67.1.
clap = { version = "=4.2.0", default-features = false, features = ["std", "derive", "help", "usage"] }
# Pin once_cell otherwise clap will pull in v1.21.0 which requires Rust 1.70+.
once_cell = { version = "=1.20.3" }

@ -13,6 +13,9 @@ name = "suricatasc"
# 4.0 is the newest version that builds with Rust 1.67.1.
clap = { version = "=4.2.0", default-features = false, features = ["std", "derive", "help", "usage"] }
# Pin once_cell otherwise clap will pull in v1.21.0 which requires Rust 1.70+.
once_cell = { version = "=1.20.3" }
# Need to pin back for Rust 1.67.1
rustyline = { version = "=11.0.0" }
rustyline-derive = { version = "0.9.0" }

Loading…
Cancel
Save