Skip to content

Commit 6175c67

Browse files
authored
Merge pull request #318 from chinedufn/master
Specify required version of optional crates
2 parents 691eec2 + 8fe39f3 commit 6175c67

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -308,50 +308,50 @@ crate.
308308

309309
[UUID](http://www.postgresql.org/docs/9.4/static/datatype-uuid.html) support is
310310
provided optionally by the `with-uuid` feature, which adds `ToSql` and `FromSql`
311-
implementations for `uuid`'s `Uuid` type.
311+
implementations for `uuid`'s `Uuid` type. Requires `uuid` version 0.5.
312312

313313
### JSON/JSONB types
314314

315315
[JSON and JSONB](http://www.postgresql.org/docs/9.4/static/datatype-json.html)
316316
support is provided optionally by the `with-rustc-serialize` feature, which adds
317317
`ToSql` and `FromSql` implementations for `rustc-serialize`'s `Json` type, and
318318
the `with-serde_json` feature, which adds implementations for `serde_json`'s
319-
`Value` type.
319+
`Value` type. Requires `serde_json` version 1.0, `rustc-serialize` version 0.3.
320320

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

323323
[Date and Time](http://www.postgresql.org/docs/9.1/static/datatype-datetime.html)
324324
support is provided optionally by the `with-time` feature, which adds `ToSql`
325325
and `FromSql` implementations for `time`'s `Timespec` type, or the `with-chrono`
326326
feature, which adds `ToSql` and `FromSql` implementations for `chrono`'s
327-
`DateTime`, `NaiveDateTime`, `NaiveDate` and `NaiveTime` types.
327+
`DateTime`, `NaiveDateTime`, `NaiveDate` and `NaiveTime` types. Requires `time` version 0.1.14.
328328

329329
### BIT/VARBIT types
330330

331331
[BIT and VARBIT](http://www.postgresql.org/docs/9.4/static/datatype-bit.html)
332332
support is provided optionally by the `with-bit-vec` feature, which adds `ToSql`
333-
and `FromSql` implementations for `bit-vec`'s `BitVec` type.
333+
and `FromSql` implementations for `bit-vec`'s `BitVec` type. Requires `bit-vec` version 0.4.
334334

335335
### MACADDR type
336336

337337
[MACADDR](http://www.postgresql.org/docs/9.4/static/datatype-net-types.html#DATATYPE-MACADDR)
338338
support is provided optionally by the `with-eui48` feature, which adds `ToSql`
339-
and `FromSql` implementations for `eui48`'s `MacAddress` type.
339+
and `FromSql` implementations for `eui48`'s `MacAddress` type. Requires `eui48` version 0.3.
340340

341341
### POINT type
342342

343343
[POINT](https://www.postgresql.org/docs/9.4/static/datatype-geometric.html#AEN6799)
344-
support is provided optionally by the `with-geo` feature, which adds `ToSql` and `FromSql` implementations for `geo`'s `Point` type.
344+
support is provided optionally by the `with-geo` feature, which adds `ToSql` and `FromSql` implementations for `geo`'s `Point` type. Requires `geo` version 0.4.
345345

346346
### BOX type
347347

348348
[BOX](https://www.postgresql.org/docs/9.4/static/datatype-geometric.html#AEN6883)
349-
support is provided optionally by the `with-geo` feature, which adds `ToSql` and `FromSql` implementations for `geo`'s `Bbox` type.
349+
support is provided optionally by the `with-geo` feature, which adds `ToSql` and `FromSql` implementations for `geo`'s `Bbox` type. Requires `geo` version 0.4.
350350

351351
### PATH type
352352

353353
[PATH](https://www.postgresql.org/docs/9.4/static/datatype-geometric.html#AEN6912)
354354
support is provided optionally by the `with-geo` feature, which adds `ToSql` and `FromSql` implementations for `geo`'s `LineString` type.
355-
Paths converted from LineString are always treated as "open" paths. Use the
355+
Paths converted from LineString are always treated as "open" paths. Requires `geo` version 0.4. Use the
356356
[pclose](https://www.postgresql.org/docs/8.2/static/functions-geometry.html#FUNCTIONS-GEOMETRY-FUNC-TABLE)
357357
geometric function to insert a closed path.

0 commit comments

Comments
 (0)