# relaxed [github](https://github.com/dimpolo/relaxed) [Crates.io](https://crates.io/crates/relaxed) [docs.rs](https://docs.rs/relaxed) Wrappers around Atomics that always use `Ordering::Relaxed` ```rust // instead of: use std::sync::atomic::{AtomicBool, Ordering}; let atomic = AtomicBool::new(false); atomic.store(true, Ordering::Relaxed); assert_eq!(atomic.load(Ordering::Relaxed), true); // you can do: use relaxed::RelaxedBool; let atomic = RelaxedBool::new(false); atomic.set(true); assert_eq!(atomic.get(), true); ``` #### License Licensed under either of Apache License, Version 2.0 or MIT license at your option.