smol-rs / async-channel

Async multi-producer multi-consumer channel
Apache License 2.0
726 stars 38 forks source link

Update event-listener requirement from 3.0.0 to 4.0.0 #72

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 7 months ago

Updates the requirements on event-listener to permit the latest version.

Release notes

Sourced from event-listener's releases.

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 .awaiting on a listener without making sure it's listening first. (#94)
Changelog

Sourced from event-listener's changelog.

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)
  • Bump MSRV to 1.59 (#71)
  • Breaking: Make this crate no_std-compatible on default-features = false. (#34)
  • Create a new event-listener-strategy crate for abstracting over blocking/non-blocking operations. (#49)
  • Breaking: Change the EventListener API to be !Unpin. (#51)
  • Enable a feature for the portable-atomic crate. (#53)
  • Breaking: Add a Notification trait which is used to enable tagged events. (#52)
  • Add an is_notified() method to Event. (#48)
  • Breaking: Make it so notify() returns the number of listeners notified. (#57)

Version 2.5.3

  • Fix fence on x86 and miri.

Version 2.5.2

  • Fix stacked borrows violation when -Zmiri-tag-raw-pointers is enabled. (#24)

Version 2.5.1

  • Replace spinlock with a mutex.

Version 2.5.0

  • Add EventListener::discard().

Version 2.4.0

  • Event::new() is now a const fn.

Version 2.3.3

... (truncated)

Commits
  • 531c106 v4.0.0
  • 21b34bf breaking: Fix the EventListener::new() footgun
  • e6ec597 v3.1.0
  • 3f0d516 feat: Implement UnwindSafe for EventListener
  • c42dc40 Update futures-lite requirement from 1.12.0 to 2.0.0
  • ca65475 v3.0.1
  • 74e8231 m: Update fmt::Debug to produce new info
  • e8a1727 Merge pull request #90 from smol-rs/notgull/new-docs
  • 5c11241 Fix doctest and nitpick
  • ac3978e docs: Document that EventListeners must be listen'd on
  • Additional commits viewable in compare view


Most Recent Ignore Conditions Applied to This Pull Request | Dependency Name | Ignore Conditions | | --- | --- | | event-listener | [>= 3.0.a, < 3.1] |

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)
dependabot[bot] commented 7 months ago

Looks like event-listener is up-to-date now, so this is no longer needed.