Commit 6348a0b
authored
deps: bump rand_core from 0.6.4 to 0.10.1 (#6582)
Bumps [rand_core](https://github.com/rust-random/rand_core) from 0.6.4 to 0.10.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-random/rand_core/releases">rand_core's releases</a>.</em></p>
<blockquote>
<h2>v0.10.1</h2>
<h2>Fixed</h2>
<ul>
<li>Reference to the <code>rand</code> crate in <code>TryRng</code> docs (<a href="https://redirect.github.com/rust-random/rand_core/issues/75">#75</a>)</li>
</ul>
<p><a href="https://redirect.github.com/rust-random/rand_core/issues/75">#75</a>: <a href="https://redirect.github.com/rust-random/rand_core/pull/75">rust-random/rand_core#75</a></p>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/jtojnar"><code>@jtojnar</code></a> made their first contribution in <a href="https://redirect.github.com/rust-random/rand_core/pull/75">rust-random/rand_core#75</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/rust-random/rand_core/compare/v0.10.0...v0.10.1">https://github.com/rust-random/rand_core/compare/v0.10.0...v0.10.1</a></p>
<h2>v0.10.0</h2>
<h2>What's Changed</h2>
<p>This release makes a number of significant changes which we hope will be the last significant breakage before 1.0. Code has moved from the [rust-random/rand] repository to its own [rust-random/rand_core].</p>
<h3>User-facing API changes</h3>
<h4>Changed</h4>
<ul>
<li>Edition changed to 2024 and MSRV bumped to 1.85 ([rand#1668])</li>
<li><code>RngCore</code> and <code>TryRngCore</code> are renamed to <code>Rng</code> and <code>TryRng</code> respectively (<a href="https://redirect.github.com/rust-random/rand_core/issues/54">#54</a>)</li>
<li><code>Rng</code> is now an extension trait of <code>TryRng<Error = Infallible></code> (<a href="https://redirect.github.com/rust-random/rand_core/issues/45">#45</a>)</li>
<li><code>TryRng::Error</code> is bound on <code>core::error::Error</code> instead of <code>Debug + Display</code> (<a href="https://redirect.github.com/rust-random/rand_core/issues/58">#58</a>)</li>
<li>Relax <code>Sized</code> bound on impls of <code>SeedableRng</code> ([rand#1641])</li>
</ul>
<h4>Added</h4>
<ul>
<li><code>SeedableRng::{fork, try_fork}</code> methods (<a href="https://redirect.github.com/rust-random/rand_core/issues/17">#17</a>)</li>
<li>Re-export of <code>core::convert::Infallible</code> (<a href="https://redirect.github.com/rust-random/rand_core/issues/56">#56</a>)</li>
</ul>
<h4>Removed</h4>
<ul>
<li><code>TryRng::read_adapter</code> method (replaced with <code>rand::RngReader</code>) ([rand#1669])</li>
<li><code>os_rng</code> crate feature ([rand#1674])</li>
<li><code>OsRng</code> and <code>OsError</code> structs ([rand#1674])</li>
<li><code>SeedableRng::from_os_rng</code> and <code>SeedableRng::try_from_os_rng</code> methods ([rand#1674])</li>
<li><code>getrandom</code> dependency ([rand#1674])</li>
<li><code>std</code> crate feature ([rand#1674])</li>
<li>Optional <code>serde</code> dependency (<a href="https://redirect.github.com/rust-random/rand_core/issues/28">#28</a>)</li>
<li><code>UnwrapMut</code> struct and <code>Rng::unwrap_mut</code> method (<a href="https://redirect.github.com/rust-random/rand_core/issues/45">#45</a>)</li>
<li><code>Rng::unwrap_err</code> method in favor of explicit wrapping in <code>UnwrapErr</code> (<a href="https://redirect.github.com/rust-random/rand_core/issues/53">#53</a>)</li>
</ul>
<h3>API changes to PRNG implementation helpers</h3>
<h3>Added</h3>
<ul>
<li><code>BlockRng::reconstruct</code> and <code>BlockRng::remaining_results</code> methods (<a href="https://redirect.github.com/rust-random/rand_core/issues/36">#36</a>)</li>
<li><code>block::Generator::drop</code> method (<a href="https://redirect.github.com/rust-random/rand_core/issues/35">#35</a>)</li>
<li><code>BlockRng::word_offset</code> method (<a href="https://redirect.github.com/rust-random/rand_core/issues/44">#44</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Replaced <code>le</code> helper functions with new <code>utils</code> helpers ([rand#1667], <a href="https://redirect.github.com/rust-random/rand_core/issues/34">#34</a>, <a href="https://redirect.github.com/rust-random/rand_core/issues/38">#38</a>, <a href="https://redirect.github.com/rust-random/rand_core/issues/45">#45</a>)</li>
<li>Rename <code>BlockRng::generate_and_set</code> method to <code>reset_and_skip</code> (<a href="https://redirect.github.com/rust-random/rand_core/issues/44">#44</a>)</li>
</ul>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-random/rand_core/blob/master/CHANGELOG.md">rand_core's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/rust-random/rand_core/compare/v0.10.0...v0.10.1">0.10.1</a> - 2026-04-13</h2>
<h3>Fixed</h3>
<ul>
<li>Reference to the <code>rand</code> crate in <code>TryRng</code> docs (<a href="https://redirect.github.com/rust-random/rand_core/issues/75">#75</a>)</li>
</ul>
<p><a href="https://redirect.github.com/rust-random/rand_core/issues/75">#75</a>: <a href="https://redirect.github.com/rust-random/rand_core/pull/75">rust-random/rand_core#75</a></p>
<h2>[0.10.0] - 2026-02-01</h2>
<p>This release makes a number of significant changes which we hope will be the
last significant breakage before 1.0. Code has moved from the [rust-random/rand]
repository to its own [rust-random/rand_core].</p>
<h3>User-facing API changes</h3>
<h4>Changed</h4>
<ul>
<li>Edition changed to 2024 and MSRV bumped to 1.85 ([rand#1668])</li>
<li><code>RngCore</code> and <code>TryRngCore</code> are renamed to <code>Rng</code> and <code>TryRng</code> respectively (<a href="https://redirect.github.com/rust-random/rand_core/issues/54">#54</a>)</li>
<li><code>Rng</code> is now an extension trait of <code>TryRng<Error = Infallible></code> (<a href="https://redirect.github.com/rust-random/rand_core/issues/45">#45</a>)</li>
<li><code>TryRng::Error</code> is bound on <code>core::error::Error</code> instead of <code>Debug + Display</code> (<a href="https://redirect.github.com/rust-random/rand_core/issues/58">#58</a>)</li>
<li>Relax <code>Sized</code> bound on impls of <code>SeedableRng</code> ([rand#1641])</li>
</ul>
<h4>Added</h4>
<ul>
<li><code>SeedableRng::{fork, try_fork}</code> methods (<a href="https://redirect.github.com/rust-random/rand_core/issues/17">#17</a>)</li>
<li>Re-export of <code>core::convert::Infallible</code> (<a href="https://redirect.github.com/rust-random/rand_core/issues/56">#56</a>)</li>
</ul>
<h4>Removed</h4>
<ul>
<li><code>TryRng::read_adapter</code> method (replaced with <code>rand::RngReader</code>) ([rand#1669])</li>
<li><code>os_rng</code> crate feature ([rand#1674])</li>
<li><code>OsRng</code> and <code>OsError</code> structs ([rand#1674])</li>
<li><code>SeedableRng::from_os_rng</code> and <code>SeedableRng::try_from_os_rng</code> methods ([rand#1674])</li>
<li><code>getrandom</code> dependency ([rand#1674])</li>
<li><code>std</code> crate feature ([rand#1674])</li>
<li>Optional <code>serde</code> dependency (<a href="https://redirect.github.com/rust-random/rand_core/issues/28">#28</a>)</li>
<li><code>UnwrapMut</code> struct and <code>Rng::unwrap_mut</code> method (<a href="https://redirect.github.com/rust-random/rand_core/issues/45">#45</a>)</li>
<li><code>Rng::unwrap_err</code> method in favor of explicit wrapping in <code>UnwrapErr</code> (<a href="https://redirect.github.com/rust-random/rand_core/issues/53">#53</a>)</li>
</ul>
<h3>API changes to PRNG implementation helpers</h3>
<h3>Added</h3>
<ul>
<li><code>BlockRng::reconstruct</code> and <code>BlockRng::remaining_results</code> methods (<a href="https://redirect.github.com/rust-random/rand_core/issues/36">#36</a>)</li>
<li><code>block::Generator::drop</code> method (<a href="https://redirect.github.com/rust-random/rand_core/issues/35">#35</a>)</li>
<li><code>BlockRng::word_offset</code> method (<a href="https://redirect.github.com/rust-random/rand_core/issues/44">#44</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Replaced <code>le</code> helper functions with new <code>utils</code> helpers ([rand#1667], <a href="https://redirect.github.com/rust-random/rand_core/issues/34">#34</a>, <a href="https://redirect.github.com/rust-random/rand_core/issues/38">#38</a>, <a href="https://redirect.github.com/rust-random/rand_core/issues/45">#45</a>)</li>
<li>Rename <code>BlockRng::generate_and_set</code> method to <code>reset_and_skip</code> (<a href="https://redirect.github.com/rust-random/rand_core/issues/44">#44</a>)</li>
<li>Rename <code>block::BlockRngCore</code> trait to <code>block::Generator</code> (<a href="https://redirect.github.com/rust-random/rand_core/issues/26">#26</a>)</li>
</ul>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rust-random/rand_core/commit/5cd7df496d0bff1d95534ac8b66a2610f5bf7808"><code>5cd7df4</code></a> Release v0.10.1 (<a href="https://redirect.github.com/rust-random/rand_core/issues/76">#76</a>)</li>
<li><a href="https://github.com/rust-random/rand_core/commit/a2a15a91941bc0bb9041ac65a6b1813f718041a0"><code>a2a15a9</code></a> Fix <code>rand::Rng</code> reference (<a href="https://redirect.github.com/rust-random/rand_core/issues/75">#75</a>)</li>
<li><a href="https://github.com/rust-random/rand_core/commit/0ce22c945d12cbad6b10eccb872961f4da061df2"><code>0ce22c9</code></a> Prepare 0.10.0 (<a href="https://redirect.github.com/rust-random/rand_core/issues/64">#64</a>)</li>
<li><a href="https://github.com/rust-random/rand_core/commit/a20120c06973b9b1c66e194e1097050205fef0fa"><code>a20120c</code></a> Remove CryptoGenerator and Generator::drop; add BlockRng::clear (<a href="https://redirect.github.com/rust-random/rand_core/issues/69">#69</a>)</li>
<li><a href="https://github.com/rust-random/rand_core/commit/f9763d80408b4b7d9cd57f194104f90067b5ed3d"><code>f9763d8</code></a> Add deprecated <code>RngCore</code>/<code>TryRngCore</code> forwarding traits (<a href="https://redirect.github.com/rust-random/rand_core/issues/70">#70</a>)</li>
<li><a href="https://github.com/rust-random/rand_core/commit/ae880961ec597053ceffd0f722390c77811a165b"><code>ae88096</code></a> Update license year (<a href="https://redirect.github.com/rust-random/rand_core/issues/67">#67</a>)</li>
<li><a href="https://github.com/rust-random/rand_core/commit/5de073214ad8b037305abf11571e29e82fc2ce27"><code>5de0732</code></a> Tweak <code>UnwrapErr</code> impl (<a href="https://redirect.github.com/rust-random/rand_core/issues/66">#66</a>)</li>
<li><a href="https://github.com/rust-random/rand_core/commit/9eb638185c4b1e3ac4067338747a18ba7e4c5fe5"><code>9eb6381</code></a> Tweak doc links (<a href="https://redirect.github.com/rust-random/rand_core/issues/65">#65</a>)</li>
<li><a href="https://github.com/rust-random/rand_core/commit/5864683f517ea70600009c0ebd5cdf510597d286"><code>5864683</code></a> Remove outdated comment (<a href="https://redirect.github.com/rust-random/rand_core/issues/62">#62</a>)</li>
<li><a href="https://github.com/rust-random/rand_core/commit/f5e3b452961e9c9488e27e008da6b1ac98b801b7"><code>f5e3b45</code></a> Move <code>SeedableRng</code> and <code>UnwrapErr</code> into separate modules (<a href="https://redirect.github.com/rust-random/rand_core/issues/63">#63</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rust-random/rand_core/compare/v0.6.4...v0.10.1">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
You can trigger a rebase of this PR by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Approved-by: jxs <1204690+jxs@users.noreply.github.com>1 parent 4375325 commit 6348a0b
2 files changed
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments