diff --git a/Cargo.lock b/Cargo.lock index b52d70dd..d02d5642 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -57,7 +57,7 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cmov" -version = "0.5.0-pre.2" +version = "0.5.0" dependencies = [ "proptest", ] diff --git a/cmov/CHANGELOG.md b/cmov/CHANGELOG.md index a5fc7df5..69997198 100644 --- a/cmov/CHANGELOG.md +++ b/cmov/CHANGELOG.md @@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.5.0 (2026-01-17) +### Added +- Optimized `CmovEq` for `[u8]` ([#1356]) +- Optimized `CmovEq` for `[u16]` ([#1370]) +- Impl `Cmov`/`CmovEq` for slices of unsigned integers ([#1370], [#1372]) +- Impl `Cmov`/`CmovEq` for slices of signed integers ([#1373]) +- Impl `Cmov`/`CmovEq` for `isize`/`usize` ([#1375]) + +### Changed +- Impls of `Cmov`/`CmovEq` for `[T; N]` are now bounded on `[T]: Cmov(Eq)` ([#1372]) + +### Removed +- Generic impl of `CmovEq` for `[T]` where `T: CmovEq` in favor of specialized impls ([#1356]) + +[#1356]: https://github.com/RustCrypto/utils/pull/1356 +[#1370]: https://github.com/RustCrypto/utils/pull/1370 +[#1372]: https://github.com/RustCrypto/utils/pull/1372 +[#1373]: https://github.com/RustCrypto/utils/pull/1373 +[#1375]: https://github.com/RustCrypto/utils/pull/1375 + ## 0.4.6 (2026-01-16) ### Added - Optimized `Cmov` for `[u8; N]` ([#1350]) diff --git a/cmov/Cargo.toml b/cmov/Cargo.toml index 0c3b7c3d..1c1a3a35 100644 --- a/cmov/Cargo.toml +++ b/cmov/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cmov" -version = "0.5.0-pre.2" +version = "0.5.0" authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" diff --git a/ctutils/Cargo.toml b/ctutils/Cargo.toml index df4b3178..18427779 100644 --- a/ctutils/Cargo.toml +++ b/ctutils/Cargo.toml @@ -17,7 +17,7 @@ edition = "2024" rust-version = "1.85" [dependencies] -cmov = "0.5.0-pre.2" +cmov = "0.5" # optional dependencies subtle = { version = "2", optional = true, default-features = false }