Cargo Features

[dependencies]
utils-atomics = { version = "1.1.2", default-features = false, features = ["std", "alloc", "alloc_api", "futures", "nightly", "const"] }
default = std

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

std default = alloc

Enables extern_crate_std of bytemuck and std of crossbeam, num-traits, once_cell, and optional futures

crossbeam:

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

alloc alloc_api? std

Enables extern_crate_alloc of bytemuck and alloc of crossbeam, once_cell, and optional futures

crossbeam:

Enable to use APIs that require alloc. This is enabled by default and also enabled if the std feature is enabled.

alloc_api = alloc, nightly
futures

Enables futures

nightly alloc_api? const?
const = nightly

Affects trait::AtomicConstNew