package: rust-ssh2-config version: 0.6.2-2 I hope to update the dirs, dirs-sys and directories crates to versions 6, 0.4 and 6 respectively soon. The debian dependencies of rust-ssh2-config allow the new version of rust-dirs but the cargo dependencies do not.
I was able to successfully build the package with the new version after relaxing the dependency.
diff -Nru rust-ssh2-config-0.6.2/debian/changelog rust-ssh2-config-0.6.2/debian/changelog --- rust-ssh2-config-0.6.2/debian/changelog 2025-11-29 01:11:09.000000000 +0000 +++ rust-ssh2-config-0.6.2/debian/changelog 2025-12-24 20:45:36.000000000 +0000 @@ -1,3 +1,10 @@ +rust-ssh2-config (0.6.2-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Relax cargo dependency on dirs. + + -- Peter Micheal Green <[email protected]> Wed, 24 Dec 2025 20:45:36 +0000 + rust-ssh2-config (0.6.2-2) sid; urgency=medium * Uploading to sid without changes. diff -Nru rust-ssh2-config-0.6.2/debian/patches/debian/0001-cargo.patch rust-ssh2-config-0.6.2/debian/patches/debian/0001-cargo.patch --- rust-ssh2-config-0.6.2/debian/patches/debian/0001-cargo.patch 2025-09-30 16:31:51.000000000 +0000 +++ rust-ssh2-config-0.6.2/debian/patches/debian/0001-cargo.patch 2025-12-24 20:45:24.000000000 +0000 @@ -9,7 +9,7 @@ [dependencies.dirs] -version = "^6" -+version = "^5" ++version = ">= 5" [dependencies.glob] version = "0.3"

