Skip to content

Add #![no_std] Support#119

Open
rilipco wants to merge 1 commit intonox:masterfrom
rilipco:master
Open

Add #![no_std] Support#119
rilipco wants to merge 1 commit intonox:masterfrom
rilipco:master

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