Fix a use-after-move error after an EventListener is assigned to listen to
another Event. (#101)
Version 4.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 .awaiting
on a listener without making sure it's listening first. (#94)
Version 3.1.0
Implement UnwindSafe and RefUnwindSafe for EventListener. This was unintentionally removed in version 3 (#96).
Version 3.0.1
Emphasize that listen() must be called on EventListener in documentation. (#90)
Write useful output in fmt::Debug implementations. (#86)
Version 3.0.0
Use the parking crate instead of threading APIs (#27)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on event-listener to permit the latest version.
Release notes
Sourced from event-listener's releases.
Changelog
Sourced from event-listener's changelog.
... (truncated)
Commits
9e986e6
v4.0.2e0c8290
bugfix: Avoid spinning when waiting for deadlineea0f601
v4.0.1c2d1ccb
bugfix: Remove listener if one already existscc33cc5
Bump MSRV to 1.61 (#102)531c106
v4.0.021b34bf
breaking: Fix the EventListener::new() footgune6ec597
v3.1.03f0d516
feat: ImplementUnwindSafe
forEventListener
c42dc40
Update futures-lite requirement from 1.12.0 to 2.0.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show