Package: rust-rustemo
Version: 0.9.1+ds-5
Tags: patch

I hope to update rust-petgraph to the latest version soon.
(the update was stalled on termwiz, but that issue is resolved
now) rust-rustemo needs a slight adjustment to build with the
new version.
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-10-21 16:15:40.000000000 
+0000
+++ rust-rustemo-0.9.1+ds/debian/changelog      2026-12-01 18:27:10.000000000 
+0000
@@ -1,3 +1,10 @@
+rust-rustemo (0.9.1+ds-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax dependency on petgraph.
+
+ -- Peter Michael Green <[email protected]>  Tue, 01 Dec 2026 18:27:10 +0000
+
 rust-rustemo (0.9.1+ds-5) unstable; urgency=medium
 
   * relax patches 1002_newer_prettyplease 1002_newer_syn;
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-10-21 16:12:34.000000000 
+0000
+++ rust-rustemo-0.9.1+ds/debian/control        2026-12-01 18:25:38.000000000 
+0000
@@ -10,7 +10,8 @@
  librust-fancy-regex-dev (<< 0.14),
  librust-itertools-0.14-dev,
  librust-once-cell-1-dev,
- librust-petgraph-0.6-dev,
+ librust-petgraph-dev (>= 0.6),
+ librust-petgraph-dev (<< 0.9),
  librust-prettyplease-0.3-dev,
  librust-proc-macro2-1-dev,
  librust-quote-1-dev,
@@ -36,7 +37,8 @@
  librust-fancy-regex-dev (<< 0.14),
  librust-itertools-0.14-dev,
  librust-once-cell-1-dev,
- librust-petgraph-0.6-dev,
+ librust-petgraph-dev (>= 0.6),
+ librust-petgraph-dev (<< 0.9),
  librust-prettyplease-0.3-dev,
  librust-proc-macro2-1-dev,
  librust-quote-1-dev,
diff -Nru rust-rustemo-0.9.1+ds/debian/patches/1003_newer_petgraph.patch 
rust-rustemo-0.9.1+ds/debian/patches/1003_newer_petgraph.patch
--- rust-rustemo-0.9.1+ds/debian/patches/1003_newer_petgraph.patch      
1970-01-01 00:00:00.000000000 +0000
+++ rust-rustemo-0.9.1+ds/debian/patches/1003_newer_petgraph.patch      
2026-12-01 18:27:10.000000000 +0000
@@ -0,0 +1,18 @@
+Description: accept newer versions of crate petgraph
+Author: Peter Michael Green <[email protected]>
+Last-Update: 2026-12-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: rust-rustemo-0.9.1+ds/Cargo.toml
+===================================================================
+--- rust-rustemo-0.9.1+ds.orig/Cargo.toml
++++ rust-rustemo-0.9.1+ds/Cargo.toml
+@@ -33,7 +33,7 @@ edition = "2021"
+ rust-version = "1.82.0"
+ 
+ [workspace.dependencies]
+-petgraph = "0.6"
++petgraph = ">= 0.6, < 0.9"
+ thiserror = "2"
+ itertools = { version = ">= 0.10, <= 0.14", default-features = false, 
features = ["use_std"] }
+ convert_case = { version = ">= 0.5.0, <= 0.11", default-features = false }
diff -Nru rust-rustemo-0.9.1+ds/debian/patches/series 
rust-rustemo-0.9.1+ds/debian/patches/series
--- rust-rustemo-0.9.1+ds/debian/patches/series 2026-07-30 19:14:27.000000000 
+0000
+++ rust-rustemo-0.9.1+ds/debian/patches/series 2026-12-01 18:26:48.000000000 
+0000
@@ -4,5 +4,6 @@
 1002_newer_itertools.patch
 1002_newer_prettyplease.patch
 1002_newer_syn.patch
+1003_newer_petgraph.patch
 2001_no_git.patch
 2002_older_fancy-regex.patch

Reply via email to