Skip to content

Releases: Skepfyr/DiplomaticBag

Release 0.3.1

17 May 18:57
84773ff
Compare
Choose a tag to compare

Actually remember how to do releases....

Release 0.3.0

17 May 18:56
9c0894c
Compare
Choose a tag to compare

Changed

  • Implement Debug by forwarding to the contained value (thanks to @mbartlett21)
    This means that DiplomaticBag<T> now only implements Debug if T does.

Release 0.2.0

17 May 18:50
097d6f2
Compare
Choose a tag to compare

Changed

  • Remove the lifetime parameter from BaggageHandler

Added

  • Make run public

Fixed

  • Use std::mem::needs_drop to optimise the drop implementation
  • Check if try_run is being run from the worker thread to prevent a deadlock

Release 0.1.1

13 Feb 20:24
1050b96
Compare
Choose a tag to compare

Added

  • and_then and BagageHandler these allow manipulation of bags in containers such as DiplomaticBag<Vec<T>> -> Vec<DiplomaticBag<T>> conversions.
  • transpose for DiplomaticBag<Result<T, E>> and DiplomaticBag<Option<T>> producing Result<DiplomaticBag<T>, DiplomaticBag<E>> and Option<DiplomaticBag<T>> respectively.

Release 0.1.0

13 Feb 16:49
6c2653c
Compare
Choose a tag to compare

Initial release, I hope it works!