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

Add #![no_std] Support #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add #![no_std] Support #119

wants to merge 1 commit into from

Conversation

rilipco
Copy link

@rilipco rilipco commented Aug 13, 2024

This PR makes this crate #![no_std] and adds a "std" feature for the std::error::Error impl on the Error enum and the from_reader function. The new feature "std" is a default feature to enable all current features by default.

This commit guards the std::error::Error impl and the from_reader function
behind a new (default) "std" feature and relevant uses to core and alloc
in order to allow this crate to compile without std (tho alloc is required).
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.

1 participant