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

server: Replace usage of once_cell with equivalent from std #1820

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

future-highway
Copy link
Contributor

Drop the direct dependency on once_cell as equivalent functionality was released in std for Rust 1.80 (July 25, 2024).

Motivation

Eventually this will hopefully lead to 1 less dependency, however for now once_cell still remains as an indirect dependency since it is used widely in the ecosystem.

Solution

Replace usage of once_cell::sync::Lazy with std::sync::LazyLock.

@future-highway future-highway requested a review from a team as a code owner March 13, 2025 15:01
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.

1 participant