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

Fix that std was Still Required Through lazy_static #15

Merged
merged 1 commit into from
Apr 1, 2021

Conversation

Cryptjar
Copy link
Contributor

@Cryptjar Cryptjar commented Apr 1, 2021

This will make lazy_static optional, since it isn't even needed without alloc.
This should be backwards compatible, since lazy_static is not in the public API.

Still, since lazy_static, by default needs std this PR also adds some rational,
about how to use this crate with alloc but ensuring that lazy_static will not use std.

Also see: rust-lang-nursery/lazy-static.rs#150

This will make lazy_static optional, since it isn't even needed without alloc.
This should be backwards compatible, since lazy_static is not in the public API.

Still, since lazy_static, by default needs std this commit adds also some rational,
about how to use this crate with alloc but ensuring that lazy_static will not use std.
@orhanbalci orhanbalci merged commit 0aa2066 into orhanbalci:master Apr 1, 2021
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