Skip to content

Commit

Permalink
Require serde >= 1.0.100 due to no_std-related Error re-export
Browse files Browse the repository at this point in the history
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#621.
  • Loading branch information
Xanewok committed Feb 7, 2020
1 parent 40dce16 commit acc09ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -16,7 +16,7 @@ travis-ci = { repository = "serde-rs/json" }
appveyor = { repository = "serde-rs/json" }

[dependencies]
serde = { version = "1.0.60", default-features = false }
serde = { version = "1.0.100", default-features = false }
indexmap = { version = "1.2", optional = true }
itoa = { version = "0.4.3", default-features = false }
ryu = "1.0"
Expand Down

0 comments on commit acc09ff

Please sign in to comment.