Cargo Features

[dependencies]
ring-channel = { version = "0.12.0", default-features = false, features = ["std", "futures_api"] }
default = futures_api, std

These default features are set whenever ring-channel is added without default-features = false somewhere in the dependency tree.

std default

Enables std of crossbeam-queue, crossbeam-utils, futures, slotmap, and spin

crossbeam-queue:

Enable to use APIs that require std. This is enabled by default.

futures_api default = futures, slotmap, spin

Affects error::RecvError

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.

futures futures_api std
slotmap futures_api std
spin futures_api std