- Upgrade dependency versions.
- Removed
build.rs
cfg lint workaround. - Update dependency versions.
- Use
own::{OwnedOrRef, OwnedOrMutRef}
.
- Fix
PollNextN
to correctly not double count pending futures.
- Add
InterruptibilityState::set_fn_interrupt_poll_item
to run arbitrary function when interruption is activated and the underlyingStream
returnsPoll::Ready(..)
. - Add tests to prove correctness of
PollNextN
InterruptStrategy
.
- Add
InterruptibilityState::set_fn_interrupt_activate
to run arbitrary function when interruption is activated.
- Add
InterruptibilityState::is_interrupted
. - Add
InterruptibilityState::new_non_interruptible
. - Add
InterruptibilityState::new_ignore_interruptions
. - Add
InterruptibilityState::new_finish_current
. - Add
InterruptibilityState::new_poll_next_n
.
- Improve crate quality to be candidate for production use.
- Rewrite
InterruptibleStreamExt
andInterruptibleStream
to support interrupt strategies. - Add
InterruptibilityState
to maintain state across different streams.
- Update
InterruptibleFutureExt
types to return last value alongsideInterruptSignal
.
- Add
InterruptibleFutureExt
that intercepts interrupt signals, and returnsBreak
orErr
. - Add
InterruptibleStreamExt
that stops aStream
from producing values when an interrupt signal is received.