Cargo Features
[dependencies]
tokio-yamux = { version = "0.3.9", default-features = false, features = ["tokio-timer", "generic-timer", "wasm"] }
- default = tokio-timer
-
The
tokio-timer
feature is set by default whenevertokio-yamux
is added without
somewhere in the dependency tree.default-features = false - tokio-timer default
-
use tokio timer
- generic-timer wasm? = futures-timer
-
generic timer, this means that yamux can run under any runtime the difference of
AsyncRead/AsyncWrite
can be converted bytokio-util
- wasm = generic-timer
-
use futures-timer's wasm feature
Enables wasm-bindgen of futures-timer
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.