Skip to content

Removed crate once_cell #4083

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

Merged
merged 11 commits into from
Jun 16, 2025
Merged

Removed crate once_cell #4083

merged 11 commits into from
Jun 16, 2025

Conversation

martinfrances107
Copy link
Contributor

As of rust_version 1.80.0 there are now equivalent options in std.

Async and sync changes are as follows.

-use once_cell::sync::Lazy;
+use std::sync::LazyLock;

-use once_cell::sync::Lazy;
+use std::sync::LazyLock;

As of rust_version 1.80.0 there are now equivalent options in std.

Async and sync changes are as follows.

-use once_cell::sync::Lazy;
+use std::sync::LazyLock;

-use once_cell::sync::Lazy;
+use std::sync::LazyLock;
@martinfrances107
Copy link
Contributor Author

martinfrances107 commented Jun 15, 2025

Phew , 11 formatting issue, 1 syntax error

Sorry for all the noise - I must find a more productive debug workflow.

@benwis
Copy link
Contributor

benwis commented Jun 16, 2025

No worries, thanks for the PR!

@benwis benwis merged commit d555c1e into leptos-rs:main Jun 16, 2025
267 checks passed
@martinfrances107 martinfrances107 deleted the once_cell branch June 16, 2025 20:24
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