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

Require serde >= 1.0.100 due to no_std-related Error re-export #617

Merged
merged 1 commit into from Feb 7, 2020

Conversation

Xanewok
Copy link
Contributor

@Xanewok Xanewok commented Feb 7, 2020

Relevant Serde PR: serde-rs/serde#1620

To support both no-/std builds without using somewhat noisy
conditional compilation directives, we implement the re-exported
serde::de::StdError trait in #606.

However, this was only introduced in >= 1.0.100, so we need to bump
the version requirement of serde.

On the off chance of someone pulling in incompatible 1.0.4{5,6} versions
of serde_json, I believe it'd be good to yank those and cut a new
release with this patch.

Sorry for the omission in the original PR.

Fixes #612.

@dtolnay By the way, is there a chance a new version of alt_serde_* could be published? It'd help work around the Cargo feature bug, where accidentally pulling in std through build/dev dep for no_std/alloc package breaks the build in no_std consumer crates.

Relevant Serde PR: serde-rs/serde#1620

To support both no-/std builds without using somewhat noisy
conditional compilation directives, we implement the re-exported
`serde::de::StdError` trait in serde-rs#606.

However, this was only introduced in >= 1.0.100, so we need to bump
the version requirement of serde.

On the off chance of someone pulling in incompatible 1.0.4{5,6} versions
of serde_json, I believe it'd be good to yank those and cut a new
release with this patch.

Sorry for the omission in the original PR.

Fixes serde-rs#612.
@dtolnay dtolnay merged commit b4d56a7 into serde-rs:master Feb 7, 2020
@dtolnay
Copy link
Member

dtolnay commented Feb 7, 2020

I don't have anything to do with alt_serde.

@Xanewok
Copy link
Contributor Author

Xanewok commented Feb 7, 2020

Oh, woops! I was sure you also published that, but now I can see that @cbeck88 is the publisher for alt crates. Sorry for the confusion!

@Xanewok Xanewok deleted the serde-no-std-error branch February 7, 2020 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

cannot compile serde_json 1.0.45
2 participants