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

no_std support #2

Closed
vinaychandra opened this issue Apr 21, 2021 · 3 comments · Fixed by #3
Closed

no_std support #2

vinaychandra opened this issue Apr 21, 2021 · 3 comments · Fixed by #3

Comments

@vinaychandra
Copy link

The crate doesn't use any non-core code. It would be trivial to add no_std support by making std into core

@azriel91 azriel91 changed the title no_std supprot no_std support Apr 23, 2021
@azriel91
Copy link
Owner

Heya @vinaychandra, I've never written a library with no_std support, so #3 is my attempt.

Can you test that it works?

[patch.crates-io]
enum_variant_type = { git = "https://github.com/azriel91/enum_variant_type.git", branch = "feature/2/no-std" }

@vinaychandra
Copy link
Author

Cool. Thanks! In my quick test, this works as expected.

@azriel91
Copy link
Owner

Heya, this is released in 0.2.1

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 a pull request may close this issue.

2 participants