- Add
Sender::broadcast_blocking
andReceiver::recv_blocking
. #41 - Use
Mutex
instead ofRwLock
for securing the inner data. #42 - Many non-user-facing internal improvements and fixes.
- Add a
poll_recv()
method to theReceiver
type. This allows forReceiver
to be used inpoll
-based contexts. (#56)
- Breaking:
Recv
andSend
are now!Unpin
to allow for future optimizations. - Port to event-listener v5.0.
- Bump to event-listener v3.0.0.
- Add smol-rs logo to docs.
- Drop
parking_lot
dependency, in favor of sync primitives in std.
- API to disable waiting for active receivers (#35).
- Drop unneeded easy-parallel dep.
- Bumb dependencies to the current versions.
- Update
parking_lot
to 0.12.1. - fix incorrect documentation for
TrySendError::is_disconnected
.
- Add
RecvError::Overflowed
for detecting missing messages. - Avoid overflows on 32- and 16-bit systems (#22).
- Add overflow message count.
Clone
impl ofReceiver
now properly duplicates it.- Add
Receiver::new_receiver
. - Add
Receiver::new_sender
andSender::new_receiver
, allowing generating senders from receivers and vice versa, respectively. - Switch to
parking_lot::RwLock
instead ofstd::sync::Mutex
.
- Avoid the last clone in
try_recv
(#18). - Add some basic benchmarks.
- Close channel if the last receiver to drop is inactive.
- Fix a underflow panic (#14).
- Document difference with other broadcast APIs.
- Channel API in InactiveReceiver (#11).
- {Sender,Receiver}::inactive_receiver_count method.
- overflow mode.
- ability to modify channel capacity.
- Inactive receivers (#2).
- Document difference to
async-channel
crate (#6).
- First real release.
- Dummy release to get the name registered on crates.io.