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 rust stable OnceLock, drop OnceCell crate #181

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

aperepel
Copy link
Collaborator

@aperepel aperepel commented Aug 3, 2023

No description provided.

martinfrances107 and others added 2 commits August 2, 2023 18:27
In rust version 1.70.x "OnceCell" and it sync equivalent "OnceLock" were stabilized
and moved in "std"

https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html

From a maintenance perspective - One less package to track.
From a security perspective - A reduced attack surface.

I have updated the Cargo.tomls "rust-version" to 1.70 to enforce this new reality.
@aperepel aperepel merged commit 418b9af into leptos-rs:main Aug 3, 2023
3 checks passed
@aperepel aperepel deleted the pr179-once_lock branch August 3, 2023 02:41
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