This crate is
#![no_std]-compatible, and uses no non-core types.
For details, see the documentation for
types module provides type names that are atomic where the target
supports it, and fall back to
Cell when the target does not.
if_atomic! macro provides a means of conditional compilation based on
the presence of atomic instructions. It is a substitute for the
cfg(accessible) attribute tests, which are not
Feelin' lazy: Has someone already written a helper trait abstracting operations over
Cell<usize>for generic code which may not care about atomicity?
@ManishEarth - https://twitter.com/ManishEarth/status/1132706585300496384
no but call the crate radium
(since people didn't care that it was radioactive and used it in everything)
Marker traits used by
Best-effort atomic types
Conditional compilation based on the presence of atomic instructions.
A maybe-atomic shared mutable fundamental type