Cargo Features

deadpool = { version = "0.10.0", default-features = false, features = ["managed", "unmanaged", "rt_tokio_1", "rt_async-std_1", "serde"] }
default = managed, unmanaged

These default features are set whenever deadpool is added without default-features = false somewhere in the dependency tree.

managed default = async-trait

Affects deadpool::managed

unmanaged default

Affects deadpool::unmanaged


Enables tokio_1 of deadpool-runtime

rt_async-std_1 feature


Enables async-std_1 of deadpool-runtime

Features from optional dependencies

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

async-trait managed

Enables async-trait

managed feature

serde implicit feature

Enables serde

serde feature