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
Migrate to once_cell #2750
Migrate to once_cell #2750
Conversation
Visit the preview URL for this PR (updated for commit 9449c35): https://yew-rs-api--pr2750-remove-lazy-static-i7d49hz5.web.app (expires Fri, 01 Jul 2022 14:30:29 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
Size Comparison
✅ None of the examples has changed their size significantly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
once_cell has been accepted into the std. Migrating to once_cell would help us to eventually move to the std version.
If they have the same API, #2743 can also use std once_cell on nightly.
once_cell has just changed from |
Description
once_cell has been accepted into the std. Migrating to once_cell would help us to eventually move to the std version.
rust-lang/rust#74465
This pull request migrates all lazy_static usage to once_cell.
Checklist