From a4dcce7c36fe7e346850c18a5e986877d05646b3 Mon Sep 17 00:00:00 2001 From: Pedro Fedricci Date: Tue, 9 Apr 2024 19:40:47 -0300 Subject: [PATCH] release: v0.2.0 --- CHANGELOG.md | 16 +++++++++++++++- Cargo.toml | 2 +- README.md | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 898f160..90370ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[Unreleased]: https://github.com/pedromfedricci/mcslock/compare/v0.1.2..HEAD +[Unreleased]: https://github.com/pedromfedricci/mcslock/compare/v0.2.0..HEAD + +## [0.2.0] - 2024-04-09 + +### Added + +- **BREAKING**: Add new thread_local locking design ([#11]). + +[#11]: https://github.com/pedromfedricci/mcslock/pull/11 + +### Removed + +- **BREAKING**: Remove MutexNode reexports ([#12]). + +[#12]: https://github.com/pedromfedricci/mcslock/pull/12 ## [0.1.2] - 2024-03-24 diff --git a/Cargo.toml b/Cargo.toml index 52181c4..6e3342e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ An implementation of Mellor-Crummey and Scott contention-free spin-lock for mutual exclusion, referred to as MCS lock. """ name = "mcslock" -version = "0.1.2" +version = "0.2.0" edition = "2021" # NOTE: Rust 1.65 is required for GATs and let-else statements. rust-version = "1.65.0" diff --git a/README.md b/README.md index 19bb9b4..1adf007 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Or add a entry under the `[dependencies]` section in your `Cargo.toml`: [dependencies] # Available features: `yield`, `barging`, `thread_local` and `lock_api`. -mcslock = { version = "0.1", features = ["barging"] } +mcslock = { version = "0.2", features = ["barging"] } ``` ## Documentation