Cargo Features

[dependencies]
mpsc = { version = "0.2.3", default-features = false, features = ["segqueue", "vecdeque", "priority", "indexmap"] }
default = segqueue

The segqueue feature is set by default whenever mpsc is added without default-features = false somewhere in the dependency tree.

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