Releases: austinjones/lifeline-rs
Releases · austinjones/lifeline-rs
v0.6.1
v0.6.0
This release contains support for postage channels, as well as several breaking changes.
Changes:
- Add support for postage channels.
- Remove the barrier and subscription channel implementations. See the readme for migration docs.
- Remove the LifelineSender and LifelineReceiver wrappers, so that channel endpoints which implement Sink or Stream can be used when retrieved from the bus.
- In the prelude, remove the export of Sender and Receiver. This allows the use of the prelude in programs that import Sink or Stream from postage, tokio-stream, or the upcoming std Stream.
- Update to async-std v1.9
Upgrading:
- If you need Stream/Sink combinators, take a look at postage, or tokio-stream.
- The barrier channel can be replaced with postage::barrier.
- The subscription channel code can be found here.
v0.5.0
- Update to Tokio v1.0
- Update to async-std v1.8
v0.4.0
- Add Barrier, a variant of a one-shot channel that transmits a value when dropped.
- Add a shutdown example that demonstrates shutdown events and synchronized shutdown.
v0.3.3
- Documentation updates
v0.3.2
- Documentation updates
v0.3.1
- Documentation updates
- Cargo.toml updates
- Trim down dependencies
v0.3.0
- Add tons of crate documentation
- Add
tokio-executor
andtokio-channels
features - Add
async-std-executor
andasync-std-channels
features - Add the
dyn-bus
feature
v0.2.1
- Implement Sender/Receiver for the subscription channel
- Implement clone for LifelineSender & LifelineReceiver (where the wrapped sender/receiver implements clone). This allows you to write
impl Sender<MyStruct> + Clone
- Fix a stack overflow with the watch::Sender due to trait method resolution.
- Fix an Rx/Tx typo in DynBusStorage::clone_rx
- Move SendError to
lifeline::error
, add an impl Channel example
v0.2.0
Add traits to generalize Senders & Receivers. This makes applications with tons of channels much easier to change, and much easier to learn (senders go ?, receivers are Some).
It also smooths over the tokio err types that don't implement std::error::Error, and are really akward w/ anyhow. It also allows 'impl Sender' in the arguments for a service Self::run_xyz function.
Add subscription::Receiver::iter