Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 25 additions & 13 deletions chacha20/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion chacha20/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion chacha20/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Loading