Skip to content

Bump oneshot from 0.1.6 to 0.1.12#172

Open
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/cargo/oneshot-0.1.12
Open

Bump oneshot from 0.1.6 to 0.1.12#172
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/cargo/oneshot-0.1.12

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2026

Bumps oneshot from 0.1.6 to 0.1.12.

Changelog

Sourced from oneshot's changelog.

[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

  • Implement Sync for Sender. There is not a whole lot someone can do with a &Sender, but this allows storing the sender in places that are overly conservative and require a Sync bound on the content.

[0.1.8] - 2024-06-13

Changed

  • Change how loom concurrency testing is triggered. To get rid of loom in the dependency tree oneshot pulls in, it has in addition to being gated behind cfg(oneshot_loom) also been made an optional dependency. This makes this library way smaller for downstream consumers. This has the downside that the crate now exposes a loom feature. DOWNSTREAM USERS ARE NOT SUPPOSED TO EVER ENABLE THIS. No stability or semver guarantees exist around the loom feature. This change ultimately makes no difference for any user of oneshot in regular usage.

[0.1.7] - 2024-05-24

Added

  • Add is_closed method to the Sender.
Commits
  • 537d5de Bump version to 0.1.12 and fix changelog
  • 9cc3153 Merge branch 'improve-start_recv_ref'
  • cc3d6a2 Improve start_recv_ref to be more like regular recv method
  • 78c7476 Merge branch 'update-documentation'
  • 38d7f6f Add clarifying documentation on sender observing RECEIVING state
  • 21e0310 Synchronize readme with crate documentation in lib.rs
  • def74fc Fix spelling and grammar errors in documentation
  • 70031a4 Add documentation about how send and receive are synchronized
  • d1a1506 Merge branch 'fix-async-recv-drop-use-after-free'
  • f19ff7c Fix Receiver::drop bug causing a race when dropping a polled receiver
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [oneshot](https://github.com/faern/oneshot) from 0.1.6 to 0.1.12.
- [Changelog](https://github.com/faern/oneshot/blob/main/CHANGELOG.md)
- [Commits](faern/oneshot@v0.1.6...v0.1.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants