Package: rust-derive-deftly
Version: 1.11.1-1
Severity: serious

rust-sha3 was recently updated to version 0.12 and a
rust-sha3-0.10 package was introduced. The debian
depdencies for your package allow the new version
but the cargo dependencies do not.

I have prepared a patch which relaxes the cargo
dependencies on sha3 and have tested that the
package builds and the autopkgtests pass with the
new version. I have also looked at the upstream
changelog for the sha3 crate and I do not see
anything too scary.

Alternatively if you want to remain on the old
version of the sha3 crate, please change
your (build-)dependencies to
librust-sha3-0.10+default-dev
diff -Nru rust-derive-deftly-1.11.1/debian/changelog 
rust-derive-deftly-1.11.1/debian/changelog
--- rust-derive-deftly-1.11.1/debian/changelog  2026-04-28 19:21:03.000000000 
+0000
+++ rust-derive-deftly-1.11.1/debian/changelog  2026-06-30 09:59:39.000000000 
+0000
@@ -1,3 +1,10 @@
+rust-derive-deftly (1.11.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax cargo dependencies on sha3 crate to allow 0.12.
+
+ -- Peter Michael Green <[email protected]>  Tue, 30 Jun 2026 09:59:39 +0000
+
 rust-derive-deftly (1.11.1-1) unstable; urgency=medium
 
   * Update to new upstream version.
diff -Nru rust-derive-deftly-1.11.1/macros/Cargo.toml 
rust-derive-deftly-1.11.1/macros/Cargo.toml
--- rust-derive-deftly-1.11.1/macros/Cargo.toml 2026-04-28 19:21:03.000000000 
+0000
+++ rust-derive-deftly-1.11.1/macros/Cargo.toml 2026-06-30 09:58:03.000000000 
+0000
@@ -28,7 +28,7 @@
 proc-macro-crate = ">=1.1.3, <4"
 proc-macro2 = "1.0.53"
 quote = "1"
-sha3 = { version = ">=0.10, <0.12", optional = true }
+sha3 = { version = ">=0.10, <0.13", optional = true }
 strum = { version = ">=0.24, <0.29", features = ["derive"] }
 syn = { version = "2.0.53", features = ["extra-traits"] }
 unicode-ident = "1"
diff -Nru rust-derive-deftly-1.11.1/tests/Cargo.toml 
rust-derive-deftly-1.11.1/tests/Cargo.toml
--- rust-derive-deftly-1.11.1/tests/Cargo.toml  2026-04-28 19:21:03.000000000 
+0000
+++ rust-derive-deftly-1.11.1/tests/Cargo.toml  2026-06-30 09:58:22.000000000 
+0000
@@ -71,7 +71,7 @@
 proc-macro-crate = ">=1.1.3, <4"
 proc-macro2 = "1.0.53"
 quote = "1"
-sha3 = ">=0.10, <0.12"
+sha3 = ">=0.10, <0.13"
 strum = { version = ">=0.24, <0.29", features = ["derive"] }
 syn = { version = "2.0.53", features = ["extra-traits", "full"] }
 unicode-ident = "1"
diff -Nru rust-derive-deftly-1.11.1/tests/pub-export/bizarre-macros/Cargo.toml 
rust-derive-deftly-1.11.1/tests/pub-export/bizarre-macros/Cargo.toml
--- rust-derive-deftly-1.11.1/tests/pub-export/bizarre-macros/Cargo.toml        
2026-04-28 19:21:03.000000000 +0000
+++ rust-derive-deftly-1.11.1/tests/pub-export/bizarre-macros/Cargo.toml        
2026-06-30 09:59:04.000000000 +0000
@@ -31,7 +31,7 @@
 proc-macro-crate = ">=1.1.3, <4"
 proc-macro2 = "1.0.53"
 quote = "1"
-sha3 = { version = ">=0.10, <0.12", optional = true }
+sha3 = { version = ">=0.10, <0.13", optional = true }
 strum = { version = ">=0.24, <0.29", features = ["derive"] }
 syn = { version = "2.0.53", features = ["extra-traits"] }
 unicode-ident = "1"

Reply via email to