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

Replace lazy_static with once_cell #1213

Merged
merged 1 commit into from
Jun 25, 2022
Merged

Conversation

jplatte
Copy link
Contributor

@jplatte jplatte commented Jun 23, 2022

This makes the code a little bit easier to read because it's not a macro. It also reduces the dependencies when tokio is used, as tokio already depends on once_cell but not lazy_static.

@Brooooooklyn Brooooooklyn merged commit 7cf87ea into napi-rs:main Jun 25, 2022
@jplatte jplatte deleted the once-cell branch June 25, 2022 07:55
h-a-n-a pushed a commit to speedy-js/napi-rs that referenced this pull request Sep 9, 2022
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.

3 participants