Cargo Features
[dependencies]
par = { version = "0.3.9", default-features = false, features = ["runtime-tokio", "examples"] }
- default = examples
-
The
examples
feature is set by default wheneverpar
is added without
somewhere in the dependency tree.default-features = false - runtime-tokio examples = tokio
-
Affects
runtimes::tokio
… - examples default = fastrand, runtime-tokio, tokio-tungstenite
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.