Cargo Features
[dependencies]
mock-io = { version = "0.3.2", default-features = false, features = ["full", "async-futures", "async-tokio", "sync", "doc"] }
- default = sync
-
The
sync
feature is set by default whenevermock-io
is added without
somewhere in the dependency tree.default-features = false - full = async-futures, async-tokio, sync
- async-futures full? = async-channel, futures-io, pin-project-lite
-
Affects
mock-io::futures
,mock_listener::futures
,mock_stream::futures
… - async-tokio full? = pin-project-lite, tokio
-
Affects
mock-io::tokio
,mock_listener::tokio
,mock_stream::tokio
… - sync default full?
-
Affects
mock-io::sync
,mock_listener::sync
,mock_stream::sync
… - doc
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.