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
somewhere in the dependency tree.default-features = false - 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.