Merge pull request #228 from aleksanb/support-serde-json-0.9.x
Upgrade serde_json to 0.9.x
This commit is contained in:
commit
15a24af28e
@ -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 }
|
||||
|
@ -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)
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user