tags 1143411 +patch thanks
error: failed to select a version for the requirement `hex-literal = "^0.4"` candidate versions found which didn't match: 1.1.0 location searched: directory source `/<<PKGBUILDDIR>>/debian/cargo_registry` (which is replacing registry `crates-io`)
As well as causing a FTBFS, this also causes an autopkgtest failure, which is blocking the migration of the new version of rust-hex-literal to testing. The fix is a trivial bump of the cargo dev-dependency, I have attatched a debdiff to this mail and if I get no response will probablly NMU in a week or so.
diff -Nru rust-asn1-rs-0.7.2+ds/debian/changelog rust-asn1-rs-0.7.2+ds/debian/changelog --- rust-asn1-rs-0.7.2+ds/debian/changelog 2026-05-18 11:30:24.000000000 +0000 +++ rust-asn1-rs-0.7.2+ds/debian/changelog 2026-08-04 03:02:28.000000000 +0000 @@ -1,3 +1,10 @@ +rust-asn1-rs (0.7.2+ds-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Relax cargo dev-dependency on hex-literal. + + -- Peter Michael Green <[email protected]> Tue, 04 Aug 2026 03:02:28 +0000 + rust-asn1-rs (0.7.2+ds-1) unstable; urgency=medium [ upstream ] diff -Nru rust-asn1-rs-0.7.2+ds/debian/patches/2001_hex_literal.patch rust-asn1-rs-0.7.2+ds/debian/patches/2001_hex_literal.patch --- rust-asn1-rs-0.7.2+ds/debian/patches/2001_hex_literal.patch 1970-01-01 00:00:00.000000000 +0000 +++ rust-asn1-rs-0.7.2+ds/debian/patches/2001_hex_literal.patch 2026-08-04 02:57:01.000000000 +0000 @@ -0,0 +1,19 @@ +Description: Relax hex-literal dev-dependency to allow 1.x +Author: Peter Michael Green <[email protected]> +Forwarded: no +Last-Update: 2026-08-04 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: rust-asn1-rs-0.7.2+ds/Cargo.toml +=================================================================== +--- rust-asn1-rs-0.7.2+ds.orig/Cargo.toml ++++ rust-asn1-rs-0.7.2+ds/Cargo.toml +@@ -63,7 +63,7 @@ time = { version="0.3", features=["macro + + [dev-dependencies] + colored = "3.0" +-hex-literal = "0.4" ++hex-literal = ">= 0.4, < 2" + pem = "3.0" + trybuild = "1.0" + diff -Nru rust-asn1-rs-0.7.2+ds/debian/patches/series rust-asn1-rs-0.7.2+ds/debian/patches/series --- rust-asn1-rs-0.7.2+ds/debian/patches/series 2026-05-18 11:29:07.000000000 +0000 +++ rust-asn1-rs-0.7.2+ds/debian/patches/series 2026-08-04 02:54:09.000000000 +0000 @@ -2,3 +2,4 @@ 1002_use_core::convert::TryFrom.patch 1001_feature_fencing.patch 2001_workspace.patch +2001_hex_literal.patch

