Bug#1134573: gir-rust-code-generator - upcoming rust-toml-edit update

Peter Green plugwash at debian.org
Tue Apr 21 22:24:30 BST 2026


Package: gir-rust-code-generator
Version: 0.22.1-1

I hope to update rust-toml to version 1 soon. gir-rust-code-generator
needs it's dependency relaxing to build with the new
version.

-------------- next part --------------
diff -Nru gir-rust-code-generator-0.22.1/debian/changelog gir-rust-code-generator-0.22.1/debian/changelog
--- gir-rust-code-generator-0.22.1/debian/changelog	2026-04-13 12:46:03.000000000 +0000
+++ gir-rust-code-generator-0.22.1/debian/changelog	2026-04-21 21:16:38.000000000 +0000
@@ -1,3 +1,10 @@
+gir-rust-code-generator (0.22.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax dependency on rust-toml.
+
+ -- Peter Michael Green <plugwash at debian.org>  Tue, 21 Apr 2026 21:16:38 +0000
+
 gir-rust-code-generator (0.22.1-1) unstable; urgency=medium
 
   * Team upload
diff -Nru gir-rust-code-generator-0.22.1/debian/control gir-rust-code-generator-0.22.1/debian/control
--- gir-rust-code-generator-0.22.1/debian/control	2026-04-13 12:46:03.000000000 +0000
+++ gir-rust-code-generator-0.22.1/debian/control	2026-04-21 21:16:30.000000000 +0000
@@ -16,8 +16,10 @@
  librust-log-0.4+default-dev,
  librust-regex-1+default-dev (>= 1.12),
  librust-rustdoc-stripper-0.1+default-dev (>= 0.1.19),
- librust-toml-0.9+default-dev,
- librust-toml-0.9+preserve-order-dev,
+ librust-toml+default-dev (>= 0.9),
+ librust-toml+preserve-order-dev (>= 0.9),
+ librust-toml+default-dev (<< 2),
+ librust-toml+preserve-order-dev (<< 2),
  librust-xml-rs-0.8+default-dev,
  libstd-rust-dev,
  mdbook <!nodoc>,
diff -Nru gir-rust-code-generator-0.22.1/debian/patches/relax-deps.diff gir-rust-code-generator-0.22.1/debian/patches/relax-deps.diff
--- gir-rust-code-generator-0.22.1/debian/patches/relax-deps.diff	2026-04-13 12:46:03.000000000 +0000
+++ gir-rust-code-generator-0.22.1/debian/patches/relax-deps.diff	2026-04-21 21:16:38.000000000 +0000
@@ -8,10 +8,10 @@
  Cargo.toml | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/Cargo.toml b/Cargo.toml
-index 759a065..4b88a63 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
+Index: gir-rust-code-generator-0.22.1/Cargo.toml
+===================================================================
+--- gir-rust-code-generator-0.22.1.orig/Cargo.toml
++++ gir-rust-code-generator-0.22.1/Cargo.toml
 @@ -14,8 +14,8 @@ edition = "2024"
  bitflags = "2.11"
  getopts = "0.2.24"
@@ -19,7 +19,7 @@
 -xml-rs = "1.0"
 -toml = { version = "1.0" , features = ["preserve_order"] }
 +xml-rs = "0.8"
-+toml = { version = "0.9" , features = ["preserve_order"] }
++toml = { version = ">= 0.9, < 2" , features = ["preserve_order"] }
  env_logger = { version = "0.11", default-features = false }
  log = "0.4"
  regex = "1.12"


More information about the pkg-gnome-maintainers mailing list