Cargo Features

[dependencies]
tokio-postgres = { version = "0.7.10", default-features = false, features = ["runtime", "array-impls", "with-bit-vec-0_6", "with-chrono-0_4", "with-eui48-0_4", "with-eui48-1", "with-geo-types-0_6", "with-geo-types-0_7", "with-serde_json-1", "with-smol_str-01", "with-uuid-0_8", "with-uuid-1", "with-time-0_2", "with-time-0_3", "js"] }
default = runtime

The runtime feature is set by default whenever tokio-postgres is added without default-features = false somewhere in the dependency tree.

runtime default

Enables net and time of tokio

Affects tokio-postgres::connect, tls::MakeTlsConnect

array-impls

Enables array-impls of postgres-types

with-bit-vec-0_6

Enables with-bit-vec-0_6 of postgres-types

with-chrono-0_4

Enables with-chrono-0_4 of postgres-types

with-eui48-0_4

Enables with-eui48-0_4 of postgres-types

with-eui48-1

Enables with-eui48-1 of postgres-types

with-geo-types-0_6

Enables with-geo-types-0_6 of postgres-types

with-geo-types-0_7

Enables with-geo-types-0_7 of postgres-types

with-serde_json-1

Enables with-serde_json-1 of postgres-types

with-smol_str-01

Enables with-smol_str-01 of postgres-types

with-uuid-0_8

Enables with-uuid-0_8 of postgres-types

with-uuid-1

Enables with-uuid-1 of postgres-types

with-time-0_2

Enables with-time-0_2 of postgres-types

with-time-0_3

Enables with-time-0_3 of postgres-types

js

Enables js of postgres-protocol