Merge pull request #228 from aleksanb/support-serde-json-0.9.x

Upgrade serde_json to 0.9.x
This commit is contained in:
Steven Fackler 2017-01-31 08:34:11 -08:00 committed by GitHub
commit 15a24af28e
3 changed files with 3 additions and 3 deletions

View File

@ -25,6 +25,6 @@ bit-vec = { version = "0.4", optional = true }
chrono = { version = "0.2.14", optional = true }
eui48 = { version = "0.1", optional = true }
rustc-serialize = { version = "0.3", optional = true }
serde_json = { version = ">= 0.6, < 0.9", optional = true }
serde_json = { version = ">= 0.6, < 0.10", optional = true }
time = { version = "0.1.14", optional = true }
uuid = { version = ">= 0.1, < 0.4", optional = true }

View File

@ -34,7 +34,7 @@ impl ToSql for Value {
if let Type::Jsonb = *ty {
out.push(1);
}
try!(write!(out, "{:?}", self));
try!(write!(out, "{}", self));
Ok(IsNull::No)
}

View File

@ -58,6 +58,6 @@ bit-vec = "0.4"
chrono = "0.2.14"
eui48 = "0.1"
rustc-serialize = "0.3"
serde_json = ">= 0.6, < 0.9"
serde_json = ">= 0.6, < 0.10"
time = "0.1.14"
uuid = ">= 0.1, < 0.4"