Cargo Features

[dependencies]
crossbeam-utils = { version = "0.8.20", default-features = false, features = ["std", "nightly", "loom"] }
default = std

The std feature is set by default whenever crossbeam-utils is added without default-features = false somewhere in the dependency tree.

std default

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

Affects crossbeam-utils::sync, crossbeam-utils::thread

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.

Features from optional dependencies

loom crossbeam_loom implicit feature

Enables loom

loom:

Permutation testing for concurrent code