Cargo Features

[dependencies]
agnostic-io = { version = "0.1.1", default-features = false, features = ["std", "alloc", "tokio"] }
default = std

The std feature is set by default whenever agnostic-io is added without default-features = false somewhere in the dependency tree.

std default tokio?

Enables io of futures-util

alloc
tokio = std, tokio-util

Enables tokio

Affects std::AsyncReadWrite, std::AsyncRead, std::AsyncWrite

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-util std
tokio-util tokio?