Cargo Features
[dependencies]
one-of-futures = { version = "0.1.4", default-features = false, features = ["sink", "futures_03", "futures_01", "tokio-io"] }
- default = sink
-
The
sink
feature is set by default wheneverone-of-futures
is added without
somewhere in the dependency tree.default-features = false - sink default = futures-sink, futures_03
- futures_03 sink = futures-core
- futures_01 = futures-01
-
Affects
one-of-futures::futures_01
… - tokio-io = tokio
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-core futures_03?
- futures-sink sink
- futures-01 futures_01?
-
Enables futures ^0.1
- tokio tokio-io?
-
Enables tokio ^0.2