Skip to content

Releases: LukasKalbertodt/atomig

v0.4.2

18 Oct 15:33
b19a885
Compare
Choose a tag to compare
  • Add Send + Sync + Unpin bound to PrimitiveAtom::Impl. As a consequence, these traits are now implemented for Atomic<T> unconditionally. (#14)

v0.4.1

04 Mar 21:44
bcdf4ed
Compare
Choose a tag to compare
  • Add const fn Atomic::from_impl to allow creating static Atomics #11
  • Add Atom & AtomLogic impl for small, pow2-sized integer arrays #12
  • Fix CI badge in README

v0.4.0

09 Apr 07:17
f06caa4
Compare
Choose a tag to compare

Changed

  • Breaking: the minimal supported Rust version (MSRV) is now 1.60

  • Use cfg(target_has_atomic) to conditionally disable some impls. Previously, the whole crate just failed to compile on targets like thumbv7em-none-eabi, as AtomicU64 is not available there. Now it compiles, but there is no Atom impl for u64 or f64, for example. This is not yet an optimal solution, as platform support for atomics is not just differentiated by size, but also by whether they support some features. Sadly, for those, there are no cfg flags available on stable yet.

  • Relax derive for structs by only requiring Atom for the inner field, not PrimitiveAtom.

  • Derive macro uses syn, quote and proc-macro2 in version 1.x now. This is semantically irrelevant for you, but might remove the pre-1.x versions of these crates from your dependency graph if atomig was the last to use them.

v0.3.3

30 Dec 14:28
64d368d
Compare
Choose a tag to compare

See CHANGELOG.md

v0.3.2

02 Oct 10:00
2759c99
Compare
Choose a tag to compare

See CHANGELOG.md

v0.3.1

18 Jun 17:02
17de260
Compare
Choose a tag to compare

See CHANGELOG.md

v0.3.0

18 Jun 16:16
67ee23c
Compare
Choose a tag to compare

See CHANGELOG.md

v0.2.0

30 Jul 16:11
e7622e4
Compare
Choose a tag to compare

See CHANGELOG.md

v0.1.0

24 Jul 13:47
8d55be9
Compare
Choose a tag to compare
Add CHANGELOG.md