Cargo Features

atomic-traits has no features set by default.

[dependencies]
atomic-traits = { version = "0.4.0", features = ["atomic_access", "atomic_as_ptr", "atomic_from_ptr", "atomic_mut_ptr", "extended_compare_and_swap", "integer_atomics", "loom_atomics", "unstable", "atomic_from_mut", "atomic_bool_fetch_not"] }
atomic_access

Affects atomic-traits::Atomic.get_mut, atomic-traits::Atomic.into_inner

atomic_as_ptr

Affects atomic-traits::AsPtr

atomic_from_ptr

Affects atomic-traits::FromPtr

atomic_min_max atomic_mut_ptr
extended_compare_and_swap

Affects atomic-traits::Atomic.compare_exchange, atomic-traits::Atomic.compare_exchange_weak

integer_atomics
loom_atomics = loom
unstable = atomic_bool_fetch_not, atomic_from_mut
atomic_from_mut unstable?

Affects atomic-traits::FromMut

atomic_bool_fetch_not unstable?

Affects fetch::Not

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

loom loom_atomics?