atomiq
Convenient tool for atomics in Rust.
Inspired by the atomig crate, but with a more flexible design.
Features
- Common atomic struct
Atomic<T>. - Traits like
Atomizablewith a derive macro for easy implementation. - Standard library/core implementation.
- Loom implementation for testing (
loomcrate feature). - Atomic option type.