Description: relax cargo build dependencies
 Relax build dependencies to match what's available in the Debian
 archives
Author: Jonathan Carter <jcc@debian.org>
Last-Update: 2025-01-06

--- bcachefs-tools-1.13.0.orig/Cargo.toml
+++ bcachefs-tools-1.13.0/Cargo.toml
@@ -18,19 +18,19 @@ clap = { version = "4.0.32", features =
 clap_complete = "4.3.2"
 anyhow = "1.0"
 libc = "0.2.69"
-udev = "0.7.0"
+udev = ">= 0.7 , < 1"
 uuid = "1.2.2"
-errno = "0.2"
+errno = ">= 0.2 , < 1"
 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"] }
-rustix = { version = "0.38.34", features = ["termios"] }
+rustix = { version = ">= 0.35 , < 1", features = ["termios"] }
-owo-colors = "4"
+owo-colors = "3.5"

 [dependencies.env_logger]
-version = "0.10"
+version = "0.11"
 default-features = false

 [profile.release]
--- bcachefs-tools-1.13.0.orig/bch_bindgen/Cargo.toml
+++ bcachefs-tools-1.13.0/bch_bindgen/Cargo.toml
@@ -14,8 +14,8 @@ anyhow = "1.0"
 uuid = "1.2.2"
 bitfield = "0.14.0"
 bitflags = "1.3.2"
-paste = "1.0.11"
+paste = "1.0"

 [build-dependencies]
 pkg-config = "0.3"
-bindgen = "0.69.4"
+bindgen = "0.70"
