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

Use std::sync::LazyLock instead of once_cell::sync::Lazy #38

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

Conversation

Rastler3D
Copy link

Replaced once_cell::sync::Lazy with std::sync::LazyLock. The standard library's LazyLock provides equivalent functionality and avoids the need for an external dependency.

@Canop
Copy link
Owner

Canop commented Dec 10, 2024

The problem is that it then requires rust 1.80.

Requiring such a recent release is often a problem as it makes the library unavailable for whole platforms (exemple).

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.

2 participants