- Clean up code.
- On Error: Support handling unexpected panic at runtime.
- Added CompactFlower, a Flower with composable error message (can be enabled using
features = ["compact"]
)
- Make Flower and Handle uncloneable to avoid any kind of deadlock and data races, added FlowerState as alternative.
- Internal only: Replace
Option<S, R>
withTypeOpt<S, R>
managing value of the sync (mtx) state. - Revert: don't use trait bound
Clone
on type<S, R>
- Added functionality to set verboser error message using
fn error_verbose
. - Remove deprecated fn
- Added 'set_result
and
try_result` fn for more simpler error handling. - Added
IOError
type alias - Update examples
- Doc and performance improved.
- Fix unexpected deadlock on
result
fn.
- Small Optimization
- Added
IntoResult
trait to convertOption<T>
intoResult<T, E>
- Added
- Refactor
ok
fn changed tosuccess
fn, anderr
fn changed toerror
fn for more convenience.- Added
result
andextract
fn - Remove
then
fn - Remove parking_lot as dependency.
- Remove needless traits: Sync + 'static
- Breaking changes:
- remove fn try_recv and fn on_complete to avoid potential UB in a particular case.
- Breaking change:
- remove Leaper
- refactor flower
- New features:
- add activate and is_active fn hopefully more intuitive for showing progress or loading indicator.
- Feat(Flower/Leaper): fn result_is_ready and channel_is_present added
- parking-lot feature added (std sync mutex and std sync condivar replacement)
- a few optimizations.