Package: rust-derive-deftly
Severity: serious
Tags: patch
The upgrade of rust-toml to 0.9 is causing an autopkgtest failure in
rust-derive-deftly.
https://ci.debian.net/packages/r/rust-derive-deftly/testing/amd64/66941340/
> 77s error: failed to select a version for the requirement `toml = ">=0.5.0,
<0.9"`
> 77s candidate versions found which didn't match: 0.9.8
The crate only seems to use toml for testing, and the tests past fine
after relaxing the dependency, so that seems to be the way to go.
diff -Nru rust-derive-deftly-1.0.1/debian/changelog
rust-derive-deftly-1.0.1/debian/changelog
--- rust-derive-deftly-1.0.1/debian/changelog 2025-03-20 00:33:42.000000000
+0000
+++ rust-derive-deftly-1.0.1/debian/changelog 2025-12-09 16:44:28.000000000
+0000
@@ -1,3 +1,10 @@
+rust-derive-deftly (1.0.1-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Allow toml 0.10 in tests.
+
+ -- Peter Michael Green <[email protected]> Tue, 09 Dec 2025 16:44:28 +0000
+
rust-derive-deftly (1.0.1-3) unstable; urgency=medium
* Change to Architecture: any as per
diff -Nru rust-derive-deftly-1.0.1/tests/Cargo.toml
rust-derive-deftly-1.0.1/tests/Cargo.toml
--- rust-derive-deftly-1.0.1/tests/Cargo.toml 2025-03-20 00:33:42.000000000
+0000
+++ rust-derive-deftly-1.0.1/tests/Cargo.toml 2025-12-09 16:44:02.000000000
+0000
@@ -40,7 +40,7 @@
glob = "0.3"
paste = "1"
static_assertions = "1"
-toml = ">=0.5.0, <0.9"
+toml = ">=0.5.0, <0.10"
# Really, this should be regex 1.8 but only if feature "recent" is enabled.
# Some of our tests in directly.rs and sub-modules require regex 1.8.