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

OnceLock can replace the use of Lazy in the Windows implementation. #89

Closed
james7132 opened this issue Mar 22, 2024 · 1 comment · Fixed by #90
Closed

OnceLock can replace the use of Lazy in the Windows implementation. #89

james7132 opened this issue Mar 22, 2024 · 1 comment · Fixed by #90

Comments

@james7132
Copy link

std::sync::OnceLock was stablized in Rust 1.70, which is compatible with the crate's MSRV. The dependency can be replaced with the std version fairly easily and would drop a dependency, even without Lazy being stabilized, via OnceLock::get_or_init.

@Xaeroxe
Copy link
Collaborator

Xaeroxe commented Mar 22, 2024

Thanks for letting me know! This is fixed in version 6.0.1 which is now available on crates.io.

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