Cargo Features
[dependencies]
async-bincode = { version = "0.7.3", default-features = false, features = ["futures", "tokio", "async-executor", "async-global-executor"] }
- default = tokio
-
The
tokio
feature is set by default wheneverasync-bincode
is added without
somewhere in the dependency tree.default-features = false - futures = futures-io
-
Affects
async-bincode::futures
…
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.
- futures-io futures?
- tokio default
-
Affects
async-bincode::tokio
… - async-executor cfg(any()) implicit feature
-
Enables async-executor
async-executor:
Async executor
- async-global-executor cfg(any()) implicit feature
-
Enables async-global-executor
async-global-executor:
A global executor built on top of async-executor and async-io