Package: precious Version: 0.6.0-2 I plan to update rust-toml to 0.8 soon, to accommodate this, precious will need a patch dropping and an update to it's build-dependencies.
Since this is moving closer to what upstream wants I see it as low risk. I have tested that the package builds succesfully with the changes in question. If you want to do further testing, the new version of toml is available in experimental.
diff -Nru precious-0.6.0/debian/changelog precious-0.6.0/debian/changelog --- precious-0.6.0/debian/changelog 2023-12-19 20:56:31.000000000 +0000 +++ precious-0.6.0/debian/changelog 2024-01-30 08:22:29.000000000 +0000 @@ -1,3 +1,11 @@ +precious (0.6.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Bump toml build-dependency to use 0.8. + * Drop patch 2001_toml.patch + + -- Peter Michael Green <plugw...@debian.org> Tue, 30 Jan 2024 08:22:29 +0000 + precious (0.6.0-2) unstable; urgency=medium * drop patches 2001_anyhow 2001_rayon 2001_serde, diff -Nru precious-0.6.0/debian/control precious-0.6.0/debian/control --- precious-0.6.0/debian/control 2023-09-20 23:10:32.000000000 +0000 +++ precious-0.6.0/debian/control 2024-01-30 08:22:29.000000000 +0000 @@ -37,7 +37,7 @@ librust-tempfile-3+default-dev (>= 3.3) <!nocheck>, librust-test-case-3+default-dev <!nocheck>, librust-thiserror-1+default-dev (>= 1.0.37), - librust-toml-0.7+default-dev, + librust-toml-0.8+default-dev, librust-which+default-dev (<< 5), libstring-shellquote-perl, Standards-Version: 4.6.2 diff -Nru precious-0.6.0/debian/patches/2001_toml.patch precious-0.6.0/debian/patches/2001_toml.patch --- precious-0.6.0/debian/patches/2001_toml.patch 2023-12-19 20:56:31.000000000 +0000 +++ precious-0.6.0/debian/patches/2001_toml.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,18 +0,0 @@ -Description: accept older branch of crate toml -Author: Jonas Smedegaard <d...@jones.dk> -Bug-Debian: https://bugs.debian.org/1053955 -Forwarded: not-needed -Last-Update: 2023-12-19 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -52,7 +52,7 @@ - tempfile = "3.8.0" - test-case = "3.2.1" - thiserror = "1.0.49" --toml = "0.8.2" -+toml = ">= 0.7.6, <= 0.8.2" - which = ">= 3.0.0, < 5.0.0" - - [workspace] diff -Nru precious-0.6.0/debian/patches/series precious-0.6.0/debian/patches/series --- precious-0.6.0/debian/patches/series 2023-11-28 23:56:05.000000000 +0000 +++ precious-0.6.0/debian/patches/series 2024-01-30 08:22:29.000000000 +0000 @@ -1,4 +1,3 @@ 2001_comfy-table.patch 2001_indexmap.patch -2001_toml.patch 2002_privacy.patch