# atomic-ref2 ![Rust](https://img.shields.io/badge/rust-stable-brightgreen.svg) [![Crates.io](https://img.shields.io/crates/d/atomic-ref2.svg)](https://crates.io/crates/atomic-ref2) [![Docs.rs](https://docs.rs/atomic-ref2/badge.svg)](https://docs.rs/atomic-ref2) > Provides AtomicOptionRef and AtomicRef. Intended to map to [`java.util.concurrent.atomic.AtomicReference`](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicReference.html) in Java. ## Usage ```toml [dependencies] atomic-ref2 = "0.2" ``` ## License Licensed under either of * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) at your option. ## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.