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