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

feat: remove async-lock in favor of OnceLock #203

Closed
wants to merge 2 commits into from

Conversation

rogercoll
Copy link

Is there any reason why using async-lock and not the standard library thread safe OnceCell (OnceLock)?

My guess was that the async-lock dependency was used because the OnceLock struct was not stable yet, since 1.70.0

Rust version bumped to 1.70.0, what is the strategy to follow on Rust updates?

@notgull
Copy link
Member

notgull commented Sep 17, 2024

Our MSRV is currently pinned to Debian Stable, which is at 1.63.0:

@rogercoll
Copy link
Author

Thanks! I will close the PR up until then.

@rogercoll rogercoll closed this Sep 18, 2024
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.

2 participants