Skip to content

Commit c41a70a

Browse files
authored
Merge pull request #460 from est31/master
Remove rustc-serialize from README
2 parents f4f6b41 + 22484ca commit c41a70a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ types. The driver currently supports the following conversions:
188188
</tr>
189189
<tr>
190190
<td>
191-
<a href="https://github.com/rust-lang-nursery/rustc-serialize">serialize::json::Json</a>
191+
postgres::types::Json
192192
and
193193
<a href="https://github.com/serde-rs/json">serde_json::Value</a>
194194
(<a href="#optional-features">optional</a>)
@@ -313,10 +313,10 @@ implementations for `uuid`'s `Uuid` type. Requires `uuid` version 0.5.
313313
### JSON/JSONB types
314314

315315
[JSON and JSONB](http://www.postgresql.org/docs/9.4/static/datatype-json.html)
316-
support is provided optionally by the `with-rustc-serialize` feature, which adds
317-
`ToSql` and `FromSql` implementations for `rustc-serialize`'s `Json` type, and
318-
the `with-serde_json` feature, which adds implementations for `serde_json`'s
319-
`Value` type. Requires `serde_json` version 1.0, `rustc-serialize` version 0.3.
316+
support is provided optionally by the `with-serde_json-1` feature, which adds
317+
`ToSql` and `FromSql` implementations for `serde_json`'s `Value` type,
318+
as well as adding a generic `Json<T>` type with those same implementations.
319+
Requires `serde_json` version 1.0.
320320

321321
### TIMESTAMP/TIMESTAMPTZ/DATE/TIME types
322322

0 commit comments

Comments
 (0)