Package: rust-auth-git2 Version: 0.5.8-3 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-auth-git2 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-auth-git2-0.5.8/debian/changelog rust-auth-git2-0.5.8/debian/changelog --- rust-auth-git2-0.5.8/debian/changelog 2025-08-10 19:26:50.000000000 +0000 +++ rust-auth-git2-0.5.8/debian/changelog 2025-12-24 20:39:09.000000000 +0000 @@ -1,3 +1,10 @@ +rust-auth-git2 (0.5.8-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Relax cargo dependency on dirs crate + + -- Peter Michael Green <[email protected]> Wed, 24 Dec 2025 20:39:09 +0000 + rust-auth-git2 (0.5.8-3) sid; urgency=medium * Adding upstream metadata. diff -Nru rust-auth-git2-0.5.8/debian/patches/debian/0001-rust-dirs.patch rust-auth-git2-0.5.8/debian/patches/debian/0001-rust-dirs.patch --- rust-auth-git2-0.5.8/debian/patches/debian/0001-rust-dirs.patch 2025-06-07 18:52:16.000000000 +0000 +++ rust-auth-git2-0.5.8/debian/patches/debian/0001-rust-dirs.patch 2025-12-24 20:38:39.000000000 +0000 @@ -9,7 +9,7 @@ [dependencies.dirs] -version = "6.0.0" -+version = "5.0.0" ++version = ">= 5.0.0" [dependencies.git2] version = ">0.14, <21.0"

