Update portable-atomic to 1.0

This commit is contained in:
Taiki Endo 2023-01-15 23:08:25 +09:00
parent fa97e5f3f1
commit 92d14246cf
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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