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

switch once_cell recommendation to std::sync::LazyLock #1217

Open
kzhui125 opened this issue Jul 27, 2024 · 1 comment · May be fixed by #1235
Open

switch once_cell recommendation to std::sync::LazyLock #1217

kzhui125 opened this issue Jul 27, 2024 · 1 comment · May be fixed by #1235

Comments

@kzhui125
Copy link

LazyLock is stabilized in 1.80, maybe it's recommend than once_cell crate

@BurntSushi BurntSushi changed the title README: we recommend using the once_cell crate to ensure that regular expressions are compiled switch once_cell recommendation to std::sync::LazyLock Jul 27, 2024
@BurntSushi
Copy link
Member

Yes. But let's wait a release cycle or two. LazyLock was just stabilized.

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 a pull request may close this issue.

2 participants