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 wheneverdeadpool-lapin
is added without
somewhere in the dependency tree.default-features = false - 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
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 newasync-std
version above 1.12.0 is released, as it's already fixed in theirmain
branch. This, of course, will require bumping minimal version ofasync-std
across the workspace.