Skip to content

chore(deps): update oneshot requirement from 0.1 to 0.2#5

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/oneshot-0.2
Open

chore(deps): update oneshot requirement from 0.1 to 0.2#5
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/oneshot-0.2

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 12, 2026

Updates the requirements on oneshot to permit the latest version.

Release notes

Sourced from oneshot's releases.

v0.2.1

[0.2.1] - 2026-02-23

Added

  • Add is_closed and has_message methods to AsyncReceiver.
Changelog

Sourced from oneshot's changelog.

[0.2.1] - 2026-02-23

Added

  • Add is_closed and has_message methods to AsyncReceiver.

[0.2.0] - 2026-02-23

Changed

  • Disable both the std and async features by default. Making them opt-in instead of opt-out. This makes the library more minimal by default and only contains the functionality that the user explicitly enables. This is a breaking change.
  • Upgrade to Rust 2024 edition. This also bumps the MSRV to 1.85.0
  • Add a separate type AsyncReceiver that implements Future instead of implementing it directly on the Receiver type. Now the Receiver implements IntoFuture instead. This is a breaking change. This change removes the possible panics in many recv* methods, and it simplifies some code a bit.

Fixed

  • Make Debug impl on SendError include the channel message type, instead of just saying "SendError<T>(_)".

[0.1.13] - 2026-01-26

Fixed

  • Fix documentation building on docs.rs by not using removed doc_auto_cfg feature.

[0.1.12] - 2026-01-25

Fixed

  • Fix race condition that could lead to use-after-free if the Receiver was polled asynchronously, but then dropped before completion. faern/oneshot#74
  • Fix race conditions/UB around atomic memory orderings. These were found by running tests under miri. faern/oneshot#72

[0.1.11] - 2025-02-22

Fixed

  • Handle the UNPARKING state correctly in Receiver::drop(). Fixes a panic that could occur if a Receiver had been first polled as a future and then was being dropped in parallel with the Sender sending a message.

[0.1.10] - 2025-02-04

Added

  • Add is_closed and has_message to the Receiver. Allows polling for the channel state without modifying the channel or pulling the message from it.
  • Make the cargo features show up on docs.rs for better discoverability.

[0.1.9] - 2025-02-02

Added

... (truncated)

Commits
  • 83fd086 Bump version to 0.2.1
  • ae36afa Add is_closed and has_message to AsyncReceiver
  • a63ba97 Bump version to 0.2.0
  • b92c4b9 Add separate AsyncReceiver type that implements Future instead
  • 78d6bbd Backport 0.1.13 changelog entry from release branch
  • b433a5b Add channel message type to Debug format of SendError
  • ef89983 Update instruction on how to run benchmarks
  • f09c2bc Merge branch 'upgrade-dependencies'
  • 86d22fc Upgrade all dependencies semver compatible (bump Cargo.lock)
  • 8525f5f Merge branch 'upgrade-criterion'
  • Additional commits viewable in compare view

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 show <dependency name> 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 [oneshot](https://github.com/faern/oneshot) to permit the latest version.
- [Release notes](https://github.com/faern/oneshot/releases)
- [Changelog](https://github.com/faern/oneshot/blob/main/CHANGELOG.md)
- [Commits](faern/oneshot@v0.1.1...v0.2.1)

---
updated-dependencies:
- dependency-name: oneshot
  dependency-version: 0.2.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Apr 12, 2026

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants