From 086fb7f31305f18878be4bc0f03ff73b38db9583 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Mon, 2 Sep 2024 21:55:59 +0000 Subject: [PATCH] rust: Specify minimum dependency versions These are the minimum versions so the source compiles. Verified with: cargo +nightly update -Zminimal-versions --offline --verbose cargo update -p regex-syntax --precise=0.6.25 cargo check --- Cargo.toml | 6 +++--- bch_bindgen/Cargo.toml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 25a42e50..73dccbad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,16 +16,16 @@ fuse = [] log = { version = "0.4", features = ["std"] } clap = { version = "4.0.32", features = ["derive", "wrap_help"] } clap_complete = "4.3.2" -anyhow = "1.0" +anyhow = "1.0.1" libc = "0.2.69" udev = "0.7.0" uuid = "1.2.2" -errno = "0.2" +errno = "0.2.7" either = "1.5" bch_bindgen = { path = "bch_bindgen" } strum = { version = "0.26", features = ["derive"] } strum_macros = "0.26" -zeroize = { version = "1", features = ["std", "zeroize_derive"] } +zeroize = { version = "1.5.5", features = ["std", "zeroize_derive"] } rustix = { version = "0.38.34", features = ["termios"] } owo-colors = "4" diff --git a/bch_bindgen/Cargo.toml b/bch_bindgen/Cargo.toml index 2a819bb5..fa7851c6 100644 --- a/bch_bindgen/Cargo.toml +++ b/bch_bindgen/Cargo.toml @@ -17,5 +17,5 @@ bitflags = "1.3.2" paste = "1.0.11" [build-dependencies] -pkg-config = "0.3" -bindgen = "0.69.4" +pkg-config = "0.3.7" +bindgen = "0.69.5"