Cargo Features
[dependencies]
crossbeam-queue = { version = "0.3.11", default-features = false, features = ["std", "alloc", "nightly"] }
- default = std
-
The
std
feature is set by default whenevercrossbeam-queue
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enable to use APIs that require
std
. This is enabled by default.Enables std of crossbeam-utils
- alloc std
-
Enable to use APIs that require
alloc
. This is enabled by default and also enabled if thestd
feature is enabled.NOTE: Disabling both
std
andalloc
features is not supported yet. - nightly
-
These features are no longer used.
TODO: remove in the next major version.
Enable to use of unstable functionality.
This is disabled by default and requires recent nightly compiler.
NOTE: This feature is outside of the normal semver guarantees and minor or patch versions of crossbeam may make breaking changes to them at any time.Enables nightly of crossbeam-utils