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

Use the alloc crate for no_std (Rust 1.36+) #101

Merged
merged 3 commits into from Jan 14, 2020
Merged

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Aug 1, 2019

No description provided.

@expenses
Copy link

How close is this to being ready?

@0ndorio
Copy link

0ndorio commented Oct 30, 2019

@cuviper ... Do you plan to add any additional changes to move this review from WIP into an actual merge request? Is there anything we could do to help moving this forward?

Our `alloc`-based compilation is based on a lack of the `"std"` feature,
but `serde` wants an explicit `"alloc"` feature enabled for `Vec`.
Instead, we can use it completely `no_std` by manually handling the
sequence of data.

Our `serde_test`-based testing is moved to a CI crate, so that doesn't
"infect" the features of the main crate.
@cuviper cuviper marked this pull request as ready for review January 14, 2020 02:03
@cuviper cuviper changed the title [WIP] Use the alloc crate for no_std (Rust 1.36+) Use the alloc crate for no_std (Rust 1.36+) Jan 14, 2020
@cuviper
Copy link
Member Author

cuviper commented Jan 14, 2020

I'm going to include this as part of 0.3.

bors r+

bors bot added a commit that referenced this pull request Jan 14, 2020
101: Use the alloc crate for no_std (Rust 1.36+) r=cuviper a=cuviper



Co-authored-by: Josh Stone <cuviper@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jan 14, 2020

Build succeeded

@bors bors bot merged commit 6f4c8d5 into rust-num:master Jan 14, 2020
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

3 participants