Skip to content

Releases: austinjones/lifeline-rs

v0.6.1

02 Feb 04:12
45c4740
Compare
Choose a tag to compare
  • Update to postage v0.4.0 #60

v0.6.0

19 Jan 00:39
319aab6
Compare
Choose a tag to compare

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:

v0.5.0

11 Jan 00:29
b15ab23
Compare
Choose a tag to compare
  • Update to Tokio v1.0
  • Update to async-std v1.8

v0.4.0

24 Oct 19:07
f89a2d6
Compare
Choose a tag to compare
  • 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

07 Sep 06:08
7afa131
Compare
Choose a tag to compare
  • Documentation updates

v0.3.2

07 Sep 05:58
ceade5b
Compare
Choose a tag to compare
  • Documentation updates

v0.3.1

07 Sep 05:27
5d1f191
Compare
Choose a tag to compare
  • Documentation updates
  • Cargo.toml updates
  • Trim down dependencies

v0.3.0

07 Sep 01:59
b8dff95
Compare
Choose a tag to compare
  • Add tons of crate documentation
  • Add tokio-executor and tokio-channels features
  • Add async-std-executor and async-std-channels features
  • Add the dyn-bus feature

v0.2.1

31 Aug 16:39
ebf1201
Compare
Choose a tag to compare
  • 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

26 Aug 00:19
dfcdf78
Compare
Choose a tag to compare

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