Package: rust-flume Version: 0.12-1 Hi Jonas,
I have opened [1] against debcargo-conf with a semver-breaking change for spin. Attaching a patch for the rust-flume update. Thanks, ~Wesley
diff --git a/debian/changelog b/debian/changelog index 78593e8..8a34a34 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +rust-flume (0.12-2) UNRELEASED; urgency=medium + + * d/control: Bump spin to 0.10 + * d/p/2001-bump-spin.patch: Bump & relax spin to 0.10 + + -- Wesley Hershberger <[email protected]> Wed, 06 May 2026 06:15:35 -0500 + rust-flume (0.12-1) experimental; urgency=medium [ upstream ] diff --git a/debian/control b/debian/control index c0743ac..a95f144 100644 --- a/debian/control +++ b/debian/control @@ -18,8 +18,8 @@ Build-Depends: librust-futures-core-0.3-dev, librust-futures-sink-0.3-dev, librust-rand-0.8+default-dev, - librust-spin-0.9+default-dev, - librust-spin-0.9+mutex-dev, + librust-spin-0.10+default-dev, + librust-spin-0.10+mutex-dev, librust-tokio-1+default-dev, librust-tokio-1+macros-dev, librust-tokio-1+rt-dev, @@ -39,8 +39,8 @@ Depends: librust-fastrand-2+std-dev, librust-futures-core-0.3-dev, librust-futures-sink-0.3-dev, - librust-spin-0.9+default-dev, - librust-spin-0.9+mutex-dev, + librust-spin-0.10+default-dev, + librust-spin-0.10+mutex-dev, ${misc:Depends}, Provides: librust-flume-0.12+async-dev (= ${binary:Version}), diff --git a/debian/patches/2001-bump-spin.patch b/debian/patches/2001-bump-spin.patch new file mode 100644 index 0000000..118af3b --- /dev/null +++ b/debian/patches/2001-bump-spin.patch @@ -0,0 +1,23 @@ +From: Wesley Hershberger <[email protected]> +Date: Wed, 6 May 2026 06:12:22 -0500 +Subject: Bump & relax spin to 0.10 + +Forwarded: not-needed +Signed-off-by: Wesley Hershberger <[email protected]> +--- + Cargo.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Cargo.toml b/Cargo.toml +index 66ec82b..3f80f0b 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -28,7 +28,7 @@ eventual-fairness = ["select", "fastrand"] + default = ["async", "select", "eventual-fairness"] + + [dependencies] +-spin1 = { package = "spin", version = "0.9.8", features = ["mutex"] } ++spin1 = { package = "spin", version = "0.10", features = ["mutex"] } + futures-sink = { version = "0.3", default-features = false, optional = true } + futures-core = { version = "0.3", default-features = false, optional = true } + fastrand = { version = "2.3", features = ["std", "js"], optional = true } diff --git a/debian/patches/series b/debian/patches/series index d805f6d..004b968 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 2001_no_wasm.patch +2001-bump-spin.patch

