Cargo Features

[dependencies]
deadpool-postgres = { version = "0.12.1", default-features = false, features = ["rt_tokio_1", "rt_async-std_1", "serde"] }
default = rt_tokio_1

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

rt_tokio_1 default

Enables rt_tokio_1 of deadpool

rt_async-std_1

Enables rt_async-std_1 of deadpool

serde = serde_1

Enables serde of deadpool

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde_1 serde?

Enables serde