Cargo Features
[dependencies]
mpsc = { version = "0.2.6", default-features = false, features = ["segqueue", "vecdeque", "priority", "indexmap"] }
- default = segqueue
-
The
segqueuefeature is set by default whenevermpscis added withoutsomewhere in the dependency tree.default-features = false - segqueue default = crossbeam-queue
-
Affects
mpsc::with_segqueue_channel,mpsc::segqueue_channel… - vecdeque
-
Affects
mpsc::with_vecdeque_channel,mpsc::vecdeque_channel… - priority = collections
-
Affects
mpsc::with_priority_channel,mpsc::priority_channel…
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.
- crossbeam-queue segqueue
- indexmap implicit feature
-
Enables indexmap ^1.9
indexmap:
A hash table with consistent order and fast iteration
Affects
mpsc::with_indexmap_channel,mpsc::indexmap_channel… - collections priority?
-
Enables box-collections