To use atomic64
, first add this to your Cargo.toml
:
toml
[dependencies.atomic64]
git = "https://github.com/obourgain/rust-atomic64"
atomic64
will soon be published on Crates.io.
Then, add this to your crate root:
rust
extern crate atomic64;
Includes code derived from Syncbox.