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

Allow using serde feature in no_std environment #385

Merged
merged 2 commits into from May 22, 2020
Merged

Allow using serde feature in no_std environment #385

merged 2 commits into from May 22, 2020

Conversation

xu-cheng
Copy link
Contributor

When serde is used, it would enable its default feature std.
This of course breaks no_std build.

Fix this by disabling serde's default features. This should work for
both serde + std and serde + no_std cases.

When `serde` is used, it would enable its default feature `std`.
This of course breaks no_std build.

Fix this by disabling serde's default features. This should work for
both serde + std and serde + no_std case.
Copy link
Member

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@taiki-e taiki-e merged commit 9f40abc into tokio-rs:master May 22, 2020
@xu-cheng xu-cheng deleted the serde_no_std branch May 22, 2020 02:22
@l4l
Copy link

l4l commented May 26, 2020

Any chance that the crate version is bumped? This fix is quite important imo.

@taiki-e
Copy link
Member

taiki-e commented Jul 6, 2020

Published in v0.5.5

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