Cargo Features
[dependencies]
dataloader = { version = "0.18.0", default-features = false, features = ["runtime-async-std", "runtime-tokio"] }
- default = runtime-async-std
-
The
runtime-async-std
feature is set by default wheneverdataloader
is added without
somewhere in the dependency tree.default-features = false - runtime-async-std default = async-std
-
Affects
runtime::Arc
,runtime::Mutex
… - runtime-tokio = tokio
-
Affects
runtime::Arc
,runtime::Mutex
…
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.