Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace once-cell with async-lock #241

Merged
merged 2 commits into from
Nov 28, 2022
Merged

Replace once-cell with async-lock #241

merged 2 commits into from
Nov 28, 2022

Conversation

notgull
Copy link
Member

@notgull notgull commented Oct 29, 2022

smol relies on once_cell, which has caused it to violate its MSRV of 1.47. This crate replaces once_cell with async_lock, in a similar manner to smol-rs/async-io#93

@notgull
Copy link
Member Author

notgull commented Oct 29, 2022

The current test failure is caused by downstream crates (blocking and async-executor). Both of these crates have PRs to replace once_cell; see smol-rs/blocking#29 and smol-rs/async-executor#29.

@taiki-e
Copy link
Collaborator

taiki-e commented Nov 26, 2022

(Released the new versions of both blocking and async-executor.)

@taiki-e
Copy link
Collaborator

taiki-e commented Nov 26, 2022

We probably need to get rid of the use of once_cell in async-process as well.

@notgull notgull merged commit 8e97a44 into master Nov 28, 2022
@notgull notgull deleted the async-lock branch November 28, 2022 04:39
@taiki-e taiki-e mentioned this pull request Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants