Releases: smol-rs/event-listener
Releases · smol-rs/event-listener
v5.3.1
- Disable some optimizations that, in rare conditions, can cause race conditions
causing notifications to be dropped. (#139)
- Ensure the portable-atomic feature is set properly. (#134)
- Update
portable-atomic-util
to v0.2.0. (#132)
- Document the std feature. (#134)
v5.3.0
- Add a
loom
implementation. This feature is unstable and is not semver-supported. (#126)
- Make the panic message for polling the
EventListener
after it has completed more clear. (#125)
v5.2.0
- Make
StackSlot
Sync
. (#121)
v5.1.0
- Make
StackSlot
Send
. (#119)
v5.0.0
- Breaking: Rework the API to afford better usage. (#105)
- The heap-based API of the v2.x line is back.
- However, there is a stack-based API as an alternative.
- Add a way to get the total number of listeners. (#114)
v4.0.3
- Relax MSRV to 1.60. (#110)
v4.0.2
- Avoid spinning in
wait_deadline
. (#107)
v4.0.1
- Fix a use-after-move error after an
EventListener
is assigned to listen to
another Event
. (#101)
v4.0.0
- Breaking: Fix a footgun in the
EventListener
type. EventListener::new()
now no longer takes an &Event
as an argument, and EventListener::listen()
takes the &Event
as an argument. Hopefully this should prevent .await
ing
on a listener without making sure it's listening first. (#94)
v3.1.0
- Implement
UnwindSafe
and RefUnwindSafe
for EventListener
. This was unintentionally removed in version 3 (#96).