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 whenever crossbeam-queue is added without default-features = false somewhere in the dependency tree.

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 the std feature is enabled.

NOTE: Disabling both std and alloc 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