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 whenever mock-io is added without default-features = false somewhere in the dependency tree.

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.

async-channel async-futures?

Enables async-channel ^1.6.1

futures-io async-futures?
pin-project-lite async-futures? async-tokio?
tokio async-tokio?