1# Version 2.5.2 2 3- Fix stacked borrows violation when `-Zmiri-tag-raw-pointers` is enabled. (#24) 4 5# Version 2.5.1 6 7- Replace spinlock with a mutex. 8 9# Version 2.5.0 10 11- Add `EventListener::discard()`. 12 13# Version 2.4.0 14 15- `Event::new()` is now a const fn. 16 17# Version 2.3.3 18 19- Fix a bug in `List::insert()` that was causing deadlocks. 20 21# Version 2.3.2 22 23- Optimization: use a simple spinlock and cache an `Entry` for less allocation. 24 25# Version 2.3.1 26 27- Optimization: don't initialize `Inner` when notifying `Event`. 28 29# Version 2.3.0 30 31- Implement `UnwindSafe`/`RefUnwindSafe` for `Event`/`EventListener`. 32 33# Version 2.2.1 34 35- Always keep the last waker in `EventListener::poll()`. 36 37# Version 2.2.0 38 39- Add `EventListener::same_event()`. 40 41# Version 2.1.0 42 43- Add `EventListener::listens_to()`. 44 45# Version 2.0.1 46 47- Replace `usize::MAX` with `std::usize::MAX`. 48 49# Version 2.0.0 50 51- Remove `Event::notify_one()` and `Event::notify_all()`. 52- Add `Event::notify_relaxed()` and `Event::notify_additional_relaxed()`. 53- Dropped notified `EventListener` now notifies one *or* one additional listener. 54 55# Version 1.2.0 56 57- Add `Event::notify_additional()`. 58 59# Version 1.1.2 60 61- Change a `Relaxed` load to `Acquire` load. 62 63# Version 1.1.1 64 65- Fix a bug in `EventListener::wait_timeout()`. 66 67# Version 1.1.0 68 69- Add `EventListener::notify()`. 70 71# Version 1.0.1 72 73- Reduce the complexity of `notify_all()` from O(n) to amortized O(1). 74- Fix a bug where entries were notified in wrong order. 75- Add tests. 76 77# Version 1.0.0 78 79- Initial version. 80