From 8fdfedb5c1e44a42246444f5bdd23d515a62a54b Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Fri, 7 Feb 2020 19:57:13 +0100 Subject: [PATCH] Require serde >= 1.0.100 due to no_std-related Error re-export Relevant Serde PR: https://github.com/serde-rs/serde/pull/1620 To support both no-/std builds without using somewhat noisy conditional compilation directives, we implement the re-exported `serde::de::StdError` trait in https://github.com/serde-rs/json/pull/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. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 09e0b29d3..db20d4308 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,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"