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