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

Feature guarded no_std support #518

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dzmitry-huba
Copy link
Contributor


name: no_std
about: Supporting no_std compilation mode


Description of feature:
Make the library compatible with no_std environments.

Implementation:
The std target implementation remains unchanged. The majority of changes are switching to using core and alloc where std used to be. The no_std flavor uses no_std compatible collections and synchronization primitives. The thiserror crate doesn't have no_std support hence the error types where reimplemented manually.

name: no_std
about: Supporting no_std compilation mode

---

**Description of feature:**
Make the library compatible with no_std environments.

**Implementation:**
The std target implementation remains unchanged. The majority of changes are switching to using core and alloc where std used to be. The no_std flavor uses no_std compatible collections and synchronization primitives. The thiserror crate doesn't have no_std support hence the error types where reimplemented manually.

Signed-off-by: Dzmitry Huba <huba@google.com>
Signed-off-by: Dzmitry Huba <huba@google.com>
…uses stable version and no-std requires an experimental feature.

Signed-off-by: Dzmitry Huba <huba@google.com>
Signed-off-by: Dzmitry Huba <huba@google.com>
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.

None yet

1 participant