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

Support for no-std builds #8

Open
Kromey opened this issue May 28, 2021 · 2 comments · May be fixed by #6
Open

Support for no-std builds #8

Kromey opened this issue May 28, 2021 · 2 comments · May be fixed by #6
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Kromey
Copy link
Owner

Kromey commented May 28, 2021

Would like the option to compile this crate in no-std environments.

Pull request #6 offers this support, although some of it may conflict with currently uncommitted work-in-progress for #2. This is a tracking issue to ensure that I circle back to it once that work is finished.

@Kromey Kromey added enhancement New feature or request help wanted Extra attention is needed labels May 28, 2021
@Kromey Kromey self-assigned this May 28, 2021
@Kromey Kromey linked a pull request May 28, 2021 that will close this issue
@Kromey Kromey linked a pull request May 28, 2021 that will close this issue
@mriise
Copy link

mriise commented Jun 14, 2021

Just a passing comment, but depending on how things are written, It could be fairly easy to with a feature flag. Just read the PR, thats exactly what it does, but changing the flag to no-alloc instead would be more descriptive to what it does.

no-std doesn't necessarily mean no allocator, things can be written with core::alloc::Vec for anything with a global allocator but still considered no-std.

@nazar-pc
Copy link

Crate should expose alloc and std features that Serde has (or at least std if allocation is a hard requirement).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants