#1145310 ITP: rust-piper -- asynchronous single-consumer single-producer pipe for bytes

Package:
wnpp
Source:
wnpp
Submitter:
Juan Manuel Méndez Rey
Date:
2026-08-24 00:49:02 UTC
Severity:
normal
#1145310#5
Date:
2026-08-24 00:46:48 UTC
From:
To:
* Package name    : rust-piper
  Version         : 0.2.5
  Upstream Author : Stjepan Glavina <stjepang@gmail.com>, John Nunley <dev@notgull.net>
* URL             : https://github.com/smol-rs/piper
* License         : MIT OR Apache-2.0
  Programming Lang: Rust
  Description     : An asynchronous single-consumer single-producer pipe for bytes

Part of the smol-rs async ecosystem; used here as a dependency of the
`blocking` crate (already packaged in Debian), itself used by `zbus`
(D-Bus) for offloading blocking calls to a thread pool.

Needed transitively as a dependency of an upcoming WebKitGTK6-based rewrite
of `stremio` (wishlist bug #943703), via its D-Bus-based dependencies
(ashpd, mpris-server, ksni). Packaging note: two small patches drop a
criterion-based benchmark (criterion is not in Debian) and the optional
"portable-atomic" feature (Debian's atomic-waker package does not ship
that feature variant, which otherwise made the package uninstallable
once features are collapsed into one binary, per Debian Rust team
convention). The integration test suite is fine under the default/"std"
feature; the no-features and "futures-io"-only combinations are marked
broken, since piper's own test file is not gated and needs "std" for the
AsyncRead/AsyncWrite impls it exercises. Already packaged and verified
(full build + autopkgtest + lintian) against unstable with these patches;
will upload once this bug is assigned.