Releases: Skepfyr/DiplomaticBag
Releases · Skepfyr/DiplomaticBag
Release 0.3.1
Release 0.3.0
Changed
- Implement
Debug
by forwarding to the contained value (thanks to @mbartlett21)
This means thatDiplomaticBag<T>
now only implementsDebug
ifT
does.
Release 0.2.0
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
Added
and_then
andBagageHandler
these allow manipulation of bags in containers such asDiplomaticBag<Vec<T>> -> Vec<DiplomaticBag<T>>
conversions.transpose
forDiplomaticBag<Result<T, E>>
andDiplomaticBag<Option<T>>
producingResult<DiplomaticBag<T>, DiplomaticBag<E>>
andOption<DiplomaticBag<T>>
respectively.
Release 0.1.0
Initial release, I hope it works!