Source: rust-asn1-rs
Version: 0.7.2+ds-2
Severity: important
Tags: patch
User: [email protected]
Usertags: synstructure-0.14
X-Debbugs-Cc: [email protected]

Dear maintainer,

I am preparing a rust-synstructure transition to 0.14, which is already on syn 
3 and will likely be uploaded soon.

rust-asn1-rs embeds asn1-rs-derive and asn1-rs-impl, which depend on 
synstructure 0.13 and syn 2, so both need a port.

I have attached a debdiff fixing this.

Best regards,
Simon Quigley
[email protected]
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-08-05 01:10:27.000000000 
-0500
+++ rust-asn1-rs-0.7.2+ds/debian/changelog      2026-10-03 18:38:51.000000000 
-0500
@@ -1,3 +1,10 @@
+rust-asn1-rs (0.7.2+ds-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Port the embedded derive and impl crates to syn 3 and synstructure 0.14.
+
+ -- Simon Quigley <[email protected]>  Sat, 03 Oct 2026 18:38:51 -0500
+
 rust-asn1-rs (0.7.2+ds-2) unstable; urgency=medium
 
   * add patch cherry-picked upstream
diff -Nru rust-asn1-rs-0.7.2+ds/debian/control 
rust-asn1-rs-0.7.2+ds/debian/control
--- rust-asn1-rs-0.7.2+ds/debian/control        2026-08-05 01:06:28.000000000 
-0500
+++ rust-asn1-rs-0.7.2+ds/debian/control        2026-10-03 18:17:45.000000000 
-0500
@@ -16,8 +16,8 @@
  librust-proc-macro2-1-dev,
  librust-quote-1-dev,
  librust-rusticata-macros-4-dev,
- librust-syn-2-dev,
- librust-synstructure-0.13-dev,
+ librust-syn-3-dev,
+ librust-synstructure-0.14-dev,
  librust-thiserror-2-dev,
  librust-time-0.3-dev,
  librust-trybuild-1-dev,
@@ -41,8 +41,8 @@
  librust-proc-macro2-1-dev,
  librust-quote-1-dev,
  librust-rusticata-macros-4-dev,
- librust-syn-2-dev,
- librust-synstructure-0.13-dev,
+ librust-syn-3-dev,
+ librust-synstructure-0.14-dev,
  librust-thiserror-2-dev,
  librust-time-0.3-dev,
 Provides:
diff -Nru 
rust-asn1-rs-0.7.2+ds/debian/patches/port-syn3-synstructure-0.14.patch 
rust-asn1-rs-0.7.2+ds/debian/patches/port-syn3-synstructure-0.14.patch
--- rust-asn1-rs-0.7.2+ds/debian/patches/port-syn3-synstructure-0.14.patch      
1969-12-31 18:00:00.000000000 -0600
+++ rust-asn1-rs-0.7.2+ds/debian/patches/port-syn3-synstructure-0.14.patch      
2026-10-03 18:17:38.000000000 -0500
@@ -0,0 +1,24 @@
+Description: Port embedded derive and impl to syn 3 and synstructure 0.14
+Author: Simon Quigley <[email protected]>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2026-10-03
+---
+--- a/derive/Cargo.toml
++++ b/derive/Cargo.toml
+@@ -14,5 +14,5 @@ proc-macro = true
+ [dependencies]
+ proc-macro2 = "1.0"
+ quote = "1.0"
+-syn = { version = "2.0", features = ["full"] }
+-synstructure = "0.13"
++syn = { version = "3.0", features = ["full"] }
++synstructure = "0.14"
+--- a/impl/Cargo.toml
++++ b/impl/Cargo.toml
+@@ -14,4 +14,4 @@ proc-macro = true
+ [dependencies]
+ proc-macro2 = "1"
+ quote = "1"
+-syn = "2.0"
++syn = "3.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-08-05 00:55:36.000000000 
-0500
+++ rust-asn1-rs-0.7.2+ds/debian/patches/series 2026-10-03 18:17:38.000000000 
-0500
@@ -3,3 +3,4 @@
 1002_use_core::convert::TryFrom.patch
 1001_feature_fencing.patch
 2001_workspace.patch
+port-syn3-synstructure-0.14.patch

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to