2 releases

0.2.1 Jan 2, 2025
0.2.0 Dec 30, 2024

#39 in #threading


Used in atomiq

MPL-2.0 license

7KB
113 lines

Maintenance Crates.io version Docs.rs Size License

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 Atomizable with a derive macro for easy implementation.
  • Standard library/core implementation.
  • Loom implementation for testing (loom crate feature).
  • Atomic option type.

Dependencies

~190–610KB
~15K SLoC