diff --git a/README.md b/README.md index 9ead1d9d..7e925f83 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ Portable atomic types including support for 128-bit atomics, atomic float, etc. + - Provide all atomic integer types (`Atomic{I,U}{8,16,32,64}`) for all targets that can use atomic CAS. (i.e., all targets that can use `std`, and most no-std targets) - Provide `AtomicI128` and `AtomicU128`. - Provide `AtomicF32` and `AtomicF64`. ([optional, requires the `float` feature](#optional-features-float)) @@ -21,9 +22,11 @@ Portable atomic types including support for 128-bit atomics, atomic float, etc. +portable-atomic version of `std::sync::Arc` is provided by the [portable-atomic-util](https://github.com/taiki-e/portable-atomic/tree/HEAD/portable-atomic-util) crate. + ## Usage Add this to your `Cargo.toml`: diff --git a/src/lib.rs b/src/lib.rs index 52a95733..bd114994 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,6 +4,7 @@ Portable atomic types including support for 128-bit atomics, atomic float, etc. + - Provide all atomic integer types (`Atomic{I,U}{8,16,32,64}`) for all targets that can use atomic CAS. (i.e., all targets that can use `std`, and most no-std targets) - Provide `AtomicI128` and `AtomicU128`. - Provide `AtomicF32` and `AtomicF64`. ([optional, requires the `float` feature](#optional-features-float)) @@ -15,9 +16,11 @@ Portable atomic types including support for 128-bit atomics, atomic float, etc. +portable-atomic version of `std::sync::Arc` is provided by the [portable-atomic-util](https://github.com/taiki-e/portable-atomic/tree/HEAD/portable-atomic-util) crate. + ## Usage Add this to your `Cargo.toml`: