Skip to content

Commit 5e171ca

Browse files
committed
Upgrade serde_json to 0.9.x
1 parent 17c53c9 commit 5e171ca

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

postgres-shared/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ bit-vec = { version = "0.4", optional = true }
2525
chrono = { version = "0.2.14", optional = true }
2626
eui48 = { version = "0.1", optional = true }
2727
rustc-serialize = { version = "0.3", optional = true }
28-
serde_json = { version = ">= 0.6, < 0.9", optional = true }
28+
serde_json = { version = ">= 0.6, < 0.10", optional = true }
2929
time = { version = "0.1.14", optional = true }
3030
uuid = { version = ">= 0.1, < 0.4", optional = true }

postgres-shared/src/types/serde_json.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl ToSql for Value {
3434
if let Type::Jsonb = *ty {
3535
out.push(1);
3636
}
37-
try!(write!(out, "{:?}", self));
37+
try!(write!(out, "{}", self));
3838
Ok(IsNull::No)
3939
}
4040

postgres/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ bit-vec = "0.4"
5858
chrono = "0.2.14"
5959
eui48 = "0.1"
6060
rustc-serialize = "0.3"
61-
serde_json = ">= 0.6, < 0.9"
61+
serde_json = ">= 0.6, < 0.10"
6262
time = "0.1.14"
6363
uuid = ">= 0.1, < 0.4"

0 commit comments

Comments
 (0)