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 std of crossbeam, num-traits, once_cell, and optional futures and extern_crate_std of bytemuck

bytemuck:

Enable features requiring items from extern crate std.

alloc alloc_api? std

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

bytemuck:

Enable features requiring items from extern crate alloc.

alloc_api = alloc, nightly
futures

Enables futures

nightly alloc_api? const?
const = nightly

Affects trait::AtomicConstNew