From 92d14246cf5d6626309c4351abb4e83ec803b27d Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 15 Jan 2023 23:08:25 +0900 Subject: [PATCH] Update portable-atomic to 1.0 --- Cargo.toml | 4 ++-- src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7ceec1a..214744a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,8 +20,8 @@ categories = ["asynchronous", "concurrency"] exclude = ["/.*"] [dependencies] -# Uses portable-atomic polyfill atomics on targets without them -portable-atomic = { version = "0.3", optional = true, default-features = false } +# Uses portable-atomic polyfill atomics on targets without them +portable-atomic = { version = "1", optional = true, default-features = false } [dev-dependencies] futures = "0.3.5" diff --git a/src/lib.rs b/src/lib.rs index 7e803a7..8cf68cd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -5,7 +5,7 @@ //! This crate adds a feature, `portable-atomic`, which uses a polyfill //! from the [`portable-atomic`] crate in order to provide functionality //! to targets without atomics. See the [`README`] for the [`portable-atomic`] -//! crate for more information on how to use it on single-threaded targets. +//! crate for more information on how to use it. //! //! [`portable-atomic`]: https://crates.io/crates/portable-atomic //! [`README`]: https://github.com/taiki-e/portable-atomic/blob/main/README.md#optional-cfg