Cargo Features
[dependencies]
flume = { version = "0.11.1", default-features = false, features = ["spin", "select", "async", "eventual-fairness"] }
- spin
-
Use a spinlock internally (may be faster on some platforms)
- default = async, eventual-fairness, select
-
These default features are set whenever
flume
is added without
somewhere in the dependency tree.default-features = false - select default eventual-fairness
-
Affects
flume::select
… - async default = futures-core, futures-sink
-
Affects
flume::r#async
… - eventual-fairness default = nanorand, select
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.