Skip to content

Commit d7c4b3d

Browse files
author
Tom Houlé
committed
Correct misnamed feature in the README
The README indicated `serde` as the feature corresponding to `serde_json::Value`’s FromSql and ToSql implementations, when it is in fact the `serde_json` feature. The corresponding module documentation gives the right information.
1 parent 329de1c commit d7c4b3d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,9 @@ implementations for `uuid`'s `Uuid` type.
284284
[JSON and JSONB](http://www.postgresql.org/docs/9.4/static/datatype-json.html)
285285
support is provided optionally by the `rustc-serialize` feature, which adds
286286
`ToSql` and `FromSql` implementations for `rustc-serialize`'s `Json` type, and
287-
the `serde` feature, which adds implementations for `serde_json`'s `Value`
288-
type.
287+
the `serde_json` feature, which adds implementations for `serde_json`'s `Value`
288+
type. The `serde` feature provides implementations for the older
289+
`serde::json::Value` type.
289290

290291
### TIMESTAMP/TIMESTAMPTZ/DATE/TIME types
291292

0 commit comments

Comments
 (0)