I'm excited to announce postage v0.5.0, an async channel library for Rust. This release contains several API improvements, fixes, and better documentation coverage.
If you haven't heard about postage before, it provides a rich set of async channels (barrier/broadcast/dispatch/mpsc/watch), and it is compatible with any async executor. You can read more in the announcement.
Changes:
- Modified
futures::sink::Sink
implementations to return the item on error (SendError<T>
) #45 - Added
watch::Sender::subscribe
which returns aReceiver
#46
Documentation:
- Add examples covering all channels, and use in async_std/futures/tokio. #48
- Update benchmarks, add some rustdoc. #53
Fixes:
- A waiting oneshot receiver was not notified when the sender was dropped #44
- Use
parking_lot
for internal synchronization. #47
I'd also like to thank my colleagues at ThreatX. We use Rust extensively, and we've decided to spend some of our time on open-source contributions. Most of the work involved in this release was made possible by that effort!