Cargo Features
[dependencies]
tcp-stream-utils = { version = "0.1.0", default-features = false, features = ["impl_tokio", "impl_async_io"] }
- default = impl_tokio
-
The
impl_tokio
feature is set by default whenevertcp-stream-utils
is added without
somewhere in the dependency tree.default-features = false - impl_tokio default = tokio
-
Affects
tcp-stream-utils::impl_tokio
… - impl_async_io = async-io
-
Affects
tcp-stream-utils::impl_async_io
…
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.
- tokio impl_tokio
- async-io impl_async_io?
-
Enables async-io ^1