Cargo Features
[dependencies]
driver_async = { version = "0.0.3", default-features = false, features = ["std", "tokio_asyncs", "async-std_asyncs"] }
- default = tokio_asyncs
-
The
tokio_asyncs
feature is set by default wheneverdriver_async
is added without
somewhere in the dependency tree.default-features = false - std async-std_asyncs? tokio_asyncs
-
Enables std of futures-io and futures-util
- tokio_asyncs default = std
-
Enables rt, stream, sync and time of tokio ^0.3
Affects
mpsc::mpsc_impl
,mutex::mutex_impl
,oneshot::oneshot_impl
,rwlock::rwlock_impl
,task::task_impl
,time::time_impl
… - async-std_asyncs = std
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.