Cargo Features
[dependencies]
async-shared-timeout = { version = "0.2.2", default-features = false, features = ["std", "wrapper", "read-write", "stream", "async-std", "tokio"] }
- default = std, tokio
-
These default features are set whenever
async-shared-timeout
is added without
somewhere in the dependency tree.default-features = false - std default
- wrapper read-write? stream?
- read-write = wrapper
- stream = futures-core, wrapper
- async-std = async-io, futures-io
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.
- tokio default
-
Affects
async-shared-timeout::TokioTimeout
,wrapper::TokioWrapper
… - async-io async-std?
-
Enables async-io ^1
- futures-core stream?
- futures-io async-std?