Source: rust-rustemo
Version: 0.9.1+ds-4
Severity: important
Tags: patch
User: [email protected]
Usertags: prettyplease-0.3
X-Debbugs-Cc: [email protected]

Dear maintainer,

I am preparing a rust-prettyplease transition to 0.3, which requires syn 3 and 
will likely be uploaded soon.

rust-rustemo depends on prettyplease up to 0.2 and syn up to 2, so it needs a 
port.

I have attached a debdiff fixing this.

Best regards,
Simon Quigley
[email protected]
diff -Nru rust-rustemo-0.9.1+ds/debian/changelog 
rust-rustemo-0.9.1+ds/debian/changelog
--- rust-rustemo-0.9.1+ds/debian/changelog      2026-08-01 05:07:07.000000000 
-0500
+++ rust-rustemo-0.9.1+ds/debian/changelog      2026-10-04 07:36:56.000000000 
-0500
@@ -1,3 +1,10 @@
+rust-rustemo (0.9.1+ds-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use prettyplease 0.3 and syn 3.
+
+ -- Simon Quigley <[email protected]>  Sun, 04 Oct 2026 07:36:56 -0500
+
 rust-rustemo (0.9.1+ds-4) unstable; urgency=medium
 
   * tighten (build-, autopkgtest-)dependencies
diff -Nru rust-rustemo-0.9.1+ds/debian/control 
rust-rustemo-0.9.1+ds/debian/control
--- rust-rustemo-0.9.1+ds/debian/control        2026-08-01 05:05:33.000000000 
-0500
+++ rust-rustemo-0.9.1+ds/debian/control        2026-10-03 21:55:22.000000000 
-0500
@@ -11,12 +11,12 @@
  librust-itertools-0.14-dev,
  librust-once-cell-1-dev,
  librust-petgraph-0.6-dev,
- librust-prettyplease-0.2-dev,
+ librust-prettyplease-0.3-dev,
  librust-proc-macro2-1-dev,
  librust-quote-1-dev,
  librust-regex-1-dev,
  librust-serial-test-3-dev,
- librust-syn-2-dev,
+ librust-syn-3-dev,
  librust-thiserror-2-dev,
  librust-unicode-width-0.2-dev,
  librust-yansi-1-dev,
@@ -37,11 +37,11 @@
  librust-itertools-0.14-dev,
  librust-once-cell-1-dev,
  librust-petgraph-0.6-dev,
- librust-prettyplease-0.2-dev,
+ librust-prettyplease-0.3-dev,
  librust-proc-macro2-1-dev,
  librust-quote-1-dev,
  librust-regex-1-dev,
- librust-syn-2-dev,
+ librust-syn-3-dev,
  librust-thiserror-2-dev,
  librust-unicode-width-0.2-dev,
  librust-yansi-1-dev,
diff -Nru rust-rustemo-0.9.1+ds/debian/patches/1002_newer_prettyplease.patch 
rust-rustemo-0.9.1+ds/debian/patches/1002_newer_prettyplease.patch
--- rust-rustemo-0.9.1+ds/debian/patches/1002_newer_prettyplease.patch  
2026-07-30 14:14:27.000000000 -0500
+++ rust-rustemo-0.9.1+ds/debian/patches/1002_newer_prettyplease.patch  
2026-10-04 07:35:15.000000000 -0500
@@ -1,16 +1,17 @@
-Description: accept newer minor version of crate prettyplease
+Description: use prettyplease 0.3
 Author: Jonas Smedegaard <[email protected]>
-Last-Update: 2026-04-26
+Forwarded: https://github.com/igordejanovic/rustemo/pull/32
+Last-Update: 2026-10-04
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/Cargo.toml
 +++ b/Cargo.toml
-@@ -41,7 +41,7 @@
+@@ -41,7 +41,7 @@ clap = { version = "4", features = ["der
  quote = "1.0.20"
  syn = { version = "1.0.98", features = ["parsing", "full", "printing"] }
  proc-macro2 = "1.0.43"
 -prettyplease = "0.1.18"
-+prettyplease = ">= 0.1.18, <= 0.2"
++prettyplease = "0.3"
  codesnake = "0.3"
  
  # Default string lexer uses regexes and once_cell to init regexes only once.
diff -Nru rust-rustemo-0.9.1+ds/debian/patches/1002_newer_syn.patch 
rust-rustemo-0.9.1+ds/debian/patches/1002_newer_syn.patch
--- rust-rustemo-0.9.1+ds/debian/patches/1002_newer_syn.patch   2026-07-30 
14:14:27.000000000 -0500
+++ rust-rustemo-0.9.1+ds/debian/patches/1002_newer_syn.patch   2026-10-04 
07:35:03.000000000 -0500
@@ -1,11 +1,17 @@
+Description: use syn 3
+Author: Jonas Smedegaard <[email protected]>
+Forwarded: https://github.com/igordejanovic/rustemo/pull/32
+Last-Update: 2026-10-04
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/Cargo.toml
 +++ b/Cargo.toml
-@@ -39,7 +39,7 @@
+@@ -39,7 +39,7 @@ itertools = { version = ">= 0.10, <= 0.1
  convert_case = { version = ">= 0.5.0, <= 0.11", default-features = false }
  clap = { version = "4", features = ["derive"] }
  quote = "1.0.20"
 -syn = { version = "1.0.98", features = ["parsing", "full", "printing"] }
-+syn = { version = ">= 1.0.98, <= 2", features = ["parsing", "full", 
"printing"] }
++syn = { version = "3", features = ["parsing", "full", "printing"] }
  proc-macro2 = "1.0.43"
- prettyplease = ">= 0.1.18, <= 0.2"
+ prettyplease = "0.3"
  codesnake = "0.3"

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to