File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,11 +11,6 @@ Documentation is available at https://sfackler.github.io/doc/postgres
1111git = " https://github.com/sfackler/rust-postgres.git"
1212```
1313
14- ``` toml
15- # Optional features (on by default)
16- features = [" uuid" ]
17- ```
18-
1914## Overview
2015Rust-Postgres is a pure-Rust frontend for the popular PostgreSQL database. It
2116exposes a high level interface in the vein of JDBC or Go's ` database/sql `
@@ -301,12 +296,15 @@ traits.
301296
302297### UUID type
303298
304- To enable the [ UUID] ( http://www.postgresql.org/docs/9.4/static/datatype-uuid.html ) type just add "uuid_type" to features list:
299+ [ UUID] [ http://www.postgresql.org/docs/9.4/static/datatype-uuid.html ] support is
300+ provided optionally by the ` uuid ` feature. It is enabled by default. To
301+ disable ` UUID ` support, add ` default-features = false ` to your Cargo manifest:
305302
306303``` toml
307304[dependencies .postgres ]
308305git = ...
309- features = [" uuid_type" ]
306+ default-features = false
307+ features = [...]
310308```
311309
312310# # Development
You can’t perform that action at this time.
0 commit comments