Cargo Features

[dependencies]
deadpool-lapin = { version = "0.12.1", default-features = false, features = ["rt_tokio_1", "rt_async-std_1", "serde", "async-global-executor"] }
default = rt_tokio_1

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

rt_tokio_1 default = tokio-executor-trait

Enables rt_tokio_1 of deadpool

rt_async-std_1 = async-executor-trait

Enables rt_async-std_1 of deadpool

serde

Enables serde, serde of deadpool

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

async-executor-trait rt_async-std_1?
tokio-executor-trait rt_tokio_1
async-global-executor implicit feature

Enables async-global-executor

Not really used, added to survive minimal-versions check only. TODO: Remove once new async-std version above 1.12.0 is released, as it's already fixed in their main branch. This, of course, will require bumping minimal version of async-std across the workspace.