From a75875b0bf904287a9749e8eabea919b5e9dd8a9 Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Fri, 28 Jan 2022 19:38:43 +0000 Subject: [PATCH] Release parking_lot 0.12.0, parking_lot_core 0.9.0, lock_api 0.4.6 --- CHANGELOG.md | 10 ++++++++++ Cargo.toml | 6 +++--- core/Cargo.toml | 2 +- lock_api/Cargo.toml | 2 +- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cd4e6b4..d1951e95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## parking_lot 0.12.0, parking_lot_core 0.9.0, lock_api 0.4.6 (2022-01-28) + +- The MSRV is bumped to 1.49.0. +- Disabled eventual fairness on wasm32-unknown-unknown. (#302) +- Added a rwlock method to report if lock is held exclusively. (#303) +- Use new `asm!` macro. (#304) +- Use windows-rs instead of winapi for faster builds. (#311) +- Moved hardware lock elision support to a separate Cargo feature. (#313) +- Removed used of deprecated `spin_loop_hint`. (#314) + ## parking_lot 0.11.2, parking_lot_core 0.8.4, lock_api 0.4.5 (2021-08-28) - Fixed incorrect memory orderings on `RwLock` and `WordLock`. (#294, #292) diff --git a/Cargo.toml b/Cargo.toml index b672feb1..bb501be0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "parking_lot" -version = "0.11.2" +version = "0.12.0" authors = ["Amanieu d'Antras "] description = "More compact and efficient implementations of the standard synchronization primitives." license = "Apache-2.0/MIT" @@ -11,8 +11,8 @@ categories = ["concurrency"] edition = "2018" [dependencies] -parking_lot_core = { path = "core", version = "0.8.4" } -lock_api = { path = "lock_api", version = "0.4.5" } +parking_lot_core = { path = "core", version = "0.9.0" } +lock_api = { path = "lock_api", version = "0.4.6" } [dev-dependencies] rand = "0.8.3" diff --git a/core/Cargo.toml b/core/Cargo.toml index f3d3fd8b..b73e0ac0 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "parking_lot_core" -version = "0.8.5" +version = "0.9.0" authors = ["Amanieu d'Antras "] description = "An advanced API for creating custom synchronization primitives." license = "Apache-2.0/MIT" diff --git a/lock_api/Cargo.toml b/lock_api/Cargo.toml index 96ffdfc6..e6a805f5 100644 --- a/lock_api/Cargo.toml +++ b/lock_api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lock_api" -version = "0.4.5" +version = "0.4.6" authors = ["Amanieu d'Antras "] description = "Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std." license = "Apache-2.0/MIT"