Cargo Features
[dependencies]
lifeline = { version = "0.6.1", default-features = false, features = ["dyn-bus", "tokio-executor", "tokio-channels", "async-std-executor", "async-std-channels", "async-std-attributes", "postage-channels", "subscription-channel"] }
- default = dyn-bus, postage-channels, tokio-channels, tokio-executor
-
These default features are set whenever
lifeline
is added without
somewhere in the dependency tree.default-features = false - dyn-bus default
-
Affects
lifeline::dyn_bus
… - tokio-executor default
-
tokio:
Includes basic task execution capabilities
Affects
test::block_on
… - tokio-channels default
-
Affects
lifeline::request
… - async-std-executor
-
Enables async-std
- async-std-channels
- async-std-attributes
-
Enables attributes of async-std
- postage-channels default = postage
- subscription-channel
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.