From 4a78b8bde404394b503991cb7e8cbbb720fe9147 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sat, 20 Jul 2024 05:14:17 +0900 Subject: [PATCH] Update docs to mention portable-atomic-util --- README.md | 5 ++++- src/lib.rs | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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`: