| 1 |
# Changelog |
| 2 |
All notable changes to this project will be documented in this file. |
| 3 |
|
| 4 |
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) |
| 5 |
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 6 |
|
| 7 |
## [0.10.0] - 2026-02-01 |
| 8 |
The crate was moved from the rand repo ([rand#1658]) to the rngs repo ([#92]). |
| 9 |
|
| 10 |
### Changed |
| 11 |
- Bump MSRV to 1.85 and edition to 2024 ([rand#1671]) |
| 12 |
- Update to `rand_core` v0.10 ([rand#1712], [#96]) |
| 13 |
- Remove feature `os_rng` ([rand#1674]) |
| 14 |
|
| 15 |
[rand#1658]: https://github.com/rust-random/rand/pull/1658 |
| 16 |
[rand#1671]: https://github.com/rust-random/rand/pull/1671 |
| 17 |
[rand#1674]: https://github.com/rust-random/rand/pull/1674 |
| 18 |
[rand#1712]: https://github.com/rust-random/rand/pull/1712 |
| 19 |
[#92]: https://github.com/rust-random/rngs/pull/92 |
| 20 |
[#96]: https://github.com/rust-random/rngs/pull/96 |
| 21 |
|
| 22 |
## [0.9.0] - 2025-01-27 |
| 23 |
### Dependencies and features |
| 24 |
- Update to `rand_core` v0.9.0 ([rand#1558]) |
| 25 |
- Feature `std` now implies feature `rand_core/std` ([rand#1153]) |
| 26 |
- Rename feature `serde1` to `serde` ([rand#1477]) |
| 27 |
- Rename feature `getrandom` to `os_rng` ([rand#1537]) |
| 28 |
|
| 29 |
### Other changes |
| 30 |
- Remove usage of `unsafe` in `fn generate` ([rand#1181]) then optimise for AVX2 (~4-7%) ([rand#1192]) |
| 31 |
- Revise crate docs ([rand#1454]) |
| 32 |
|
| 33 |
[rand#1558]: https://github.com/rust-random/rand/pull/1558 |
| 34 |
[rand#1537]: https://github.com/rust-random/rand/pull/1537 |
| 35 |
[rand#1477]: https://github.com/rust-random/rand/pull/1477 |
| 36 |
[rand#1454]: https://github.com/rust-random/rand/pull/1454 |
| 37 |
[rand#1192]: https://github.com/rust-random/rand/pull/1192 |
| 38 |
[rand#1181]: https://github.com/rust-random/rand/pull/1181 |
| 39 |
[rand#1153]: https://github.com/rust-random/rand/pull/1153 |
| 40 |
|
| 41 |
## [0.3.1] - 2021-06-09 |
| 42 |
- add getters corresponding to existing setters: `get_seed`, `get_stream` ([rand#1124]) |
| 43 |
- add serde support, gated by the `serde1` feature ([rand#1124]) |
| 44 |
- ensure expected layout via `repr(transparent)` ([rand#1120]) |
| 45 |
|
| 46 |
[rand#1124]: https://github.com/rust-random/rand/pull/1124 |
| 47 |
[rand#1120]: https://github.com/rust-random/rand/pull/1120 |
| 48 |
|
| 49 |
## [0.3.0] - 2020-12-08 |
| 50 |
- Bump `rand_core` version to 0.6.0 |
| 51 |
- Bump MSRV to 1.36 ([rand#1011]) |
| 52 |
- Remove usage of deprecated feature "simd" of `ppv-lite86` ([rand#979]), then revert |
| 53 |
this change ([rand#1023]) since SIMD is only enabled by default from `ppv-lite86 v0.2.10` |
| 54 |
- impl PartialEq+Eq for ChaChaXRng and ChaChaXCore ([rand#979]) |
| 55 |
- Fix panic on block counter wrap that was occurring in debug builds ([rand#980]) |
| 56 |
|
| 57 |
[rand#1020]: https://github.com/rust-random/rand/pull/1020 |
| 58 |
[rand#1011]: https://github.com/rust-random/rand/pull/1011 |
| 59 |
[rand#980]: https://github.com/rust-random/rand/pull/980 |
| 60 |
[rand#979]: https://github.com/rust-random/rand/pull/979 |
| 61 |
|
| 62 |
## [0.2.2] - 2020-03-09 |
| 63 |
- Integrate `c2-chacha`, reducing dependency count ([rand#931]) |
| 64 |
- Add CryptoRng to ChaChaXCore ([rand#944]) |
| 65 |
|
| 66 |
[rand#944]: https://github.com/rust-random/rand/pull/944 |
| 67 |
[rand#931]: https://github.com/rust-random/rand/pull/931 |
| 68 |
|
| 69 |
## [0.2.1] - 2019-07-22 |
| 70 |
- Force enable the `simd` feature of `c2-chacha` ([rand#845]) |
| 71 |
|
| 72 |
[rand#845]: https://github.com/rust-random/rand/pull/845 |
| 73 |
|
| 74 |
## [0.2.0] - 2019-06-06 |
| 75 |
- Rewrite based on the much faster `c2-chacha` crate ([rand#789]) |
| 76 |
|
| 77 |
[rand#789]: https://github.com/rust-random/rand/pull/789 |
| 78 |
|
| 79 |
## [0.1.1] - 2019-01-04 |
| 80 |
- Disable `i128` and `u128` if the `target_os` is `emscripten` ([rand#671]: work-around Emscripten limitation) |
| 81 |
- Update readme and doc links |
| 82 |
|
| 83 |
[rand#671]: https://github.com/rust-random/rand/pull/671 |
| 84 |
|
| 85 |
## [0.1.0] - 2018-10-17 |
| 86 |
- Pulled out of the Rand crate |
| 87 |
|
| 88 |
[0.9.0]: https://github.com/rust-random/rand/compare/rand_chacha-0.3.1...0.9.0 |
| 89 |
[0.3.1]: https://github.com/rust-random/rand/compare/rand_chacha-0.3.0...rand_chacha-0.3.1 |
| 90 |
[0.3.0]: https://github.com/rust-random/rand/compare/rand_chacha-0.2.2...rand_chacha-0.3.0 |
| 91 |
[0.2.2]: https://github.com/rust-random/rand/compare/rand_chacha-0.2.1...rand_chacha-0.2.2 |
| 92 |
[0.2.1]: https://github.com/rust-random/rand/compare/rand_chacha-0.2.0...rand_chacha-0.2.1 |
| 93 |
[0.2.0]: https://github.com/rust-random/rand/compare/rand_chacha-0.1.1...rand_chacha-0.2.0 |
| 94 |
[0.1.1]: https://github.com/rust-random/rand/compare/rand_chacha-0.1.0...rand_chacha-0.1.1 |
| 95 |
[0.1.0]: https://github.com/rust-random/rand/compare/a55ba3feb49062ea8dec75c034d796f6e3f763ae...rand_chacha-0.1.0 |