diff --git a/Cargo.lock b/Cargo.lock index df478bc5..d2b17ef6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -26,7 +26,7 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "chacha20" -version = "0.10.0-rc.12" +version = "0.10.0" dependencies = [ "cfg-if", "cipher", diff --git a/chacha20/CHANGELOG.md b/chacha20/CHANGELOG.md index 5e765409..47c055bd 100644 --- a/chacha20/CHANGELOG.md +++ b/chacha20/CHANGELOG.md @@ -5,29 +5,41 @@ 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.10.0 (UNRELEASED) +## 0.10.0 (2026-02-07) ### Added -- `rand_core` support ([#333]) - -### Removed -- `chacha20_force_neon` cfg attribute ([#361]) -- `std` feature ([#397]) - -### Fixed -- `StreamId` endianness ([#389]) -- `StreamId` `From` impl ([#392]) +- `rand_core` v0.10 support ([#333], [#513]) +- 64-bit counter support ([#439]) +- `{get,set}_block_pos` inherent methods ([#516]) +- AVX-512 backend - requires `--cfg chacha20_avx512` to enable ([#477]) ### Changed -- Bump `cipher` from `0.4` to `0.5` ([#338]) +- Bump `cipher` from `0.4` to `0.5` - replaces `generic-array` with `hybrid-array` ([#338], [#521]) - Edition changed to 2024 and MSRV bumped to 1.85 ([#397]) - Relax MSRV policy and allow MSRV bumps in patch releases +- Bump `cpufeatures` to v0.3 ([#530]) +- `--cfg chacha20_backend="..."` replaces previous `chacha20_force*` ([#520]) + - `chacha20_force_avx2` => `chacha20_backend="avx2"` + - `chacha20_force_avx512` => `chacha20_backend="avx512"` + - `chacha20_force_soft` => `chacha20_backend="soft"` + - `chacha20_force_sse2` => `chacha20_backend="sse2"` + +### Removed +- `chacha20_force_neon` cfg attribute - now on-by-default for supported targets ([#361]) +- `std` feature ([#397]) +- `Clone` impls ([#462]) [#333]: https://github.com/RustCrypto/stream-ciphers/pull/333 [#338]: https://github.com/RustCrypto/stream-ciphers/pull/338 [#361]: https://github.com/RustCrypto/stream-ciphers/pull/361 -[#389]: https://github.com/RustCrypto/stream-ciphers/pull/389 -[#392]: https://github.com/RustCrypto/stream-ciphers/pull/392 [#397]: https://github.com/RustCrypto/stream-ciphers/pull/397 +[#439]: https://github.com/RustCrypto/stream-ciphers/pull/439 +[#462]: https://github.com/RustCrypto/stream-ciphers/pull/462 +[#477]: https://github.com/RustCrypto/stream-ciphers/pull/477 +[#513]: https://github.com/RustCrypto/stream-ciphers/pull/513 +[#516]: https://github.com/RustCrypto/stream-ciphers/pull/516 +[#520]: https://github.com/RustCrypto/stream-ciphers/pull/520 +[#521]: https://github.com/RustCrypto/stream-ciphers/pull/521 +[#530]: https://github.com/RustCrypto/stream-ciphers/pull/530 ## 0.9.1 (2023-04-01) ### Added diff --git a/chacha20/Cargo.toml b/chacha20/Cargo.toml index a0c8f8e5..d4650dec 100644 --- a/chacha20/Cargo.toml +++ b/chacha20/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "chacha20" -version = "0.10.0-rc.12" +version = "0.10.0" authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" diff --git a/chacha20/README.md b/chacha20/README.md index d96de51f..78a479aa 100644 --- a/chacha20/README.md +++ b/chacha20/README.md @@ -34,7 +34,7 @@ work on stable Rust with the following `RUSTFLAGS`: - `sse2`: (~1.6cpb) `-Ctarget-feature=+sse2` (on by default on x86 CPUs) - `avx512`: `-Ctarget-feature=+avx512f,+avx512vl --cfg chacha20_avx512` requires Rust 1.89+ - `aarch64` - - `neon` (~2-3x faster than `soft`) requires Rust 1.61+ and the `neon` feature enabled + - `neon` (~2-3x faster than `soft`) requires the `neon` feature enabled - Portable - `soft`: (~5 cpb on x86/x86_64)