← Back to Pull requests

chore(deps): Bump rand from 0.10.2 to 0.10.3 #1803

Closed
unknown closed this pull request without merging on Oct 13, 2026 14:03 UTC
View on GitHub
unknown unknown commented on Oct 12, 2026 20:24 UTC
Author

Bumps rand from 0.10.2 to 0.10.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-random/rand/blob/master/CHANGELOG.md">rand's changelog</a>.</em></p>
<blockquote>
<h2>[0.10.3] — 2026-09-20</h2>
<h3>Fixes</h3>
<ul>
<li>Fix <code>WeightedIndex</code> panic when the sum of float weights is infinite; return <code>Error::Overflow</code> instead (<a href="https://redirect.github.com/rust-random/rand/issues/1808">#1808</a>)</li>
<li>Fix spurious <code>Error::NonFinite</code> from <code>Uniform::new_inclusive</code> on large finite float ranges such as <code>0.0..=f64::MAX</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1821">#1821</a>)</li>
<li>Fix possible panic due to sampling a deserialized <code>Uniform&lt;char&gt;</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1831">#1831</a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li>Report exact remaining lengths from <code>WeightedIndex::weights()</code> and reduce overhead when reading weights (<a href="https://redirect.github.com/rust-random/rand/issues/1838">#1838</a>)</li>
</ul>
<p><a href="https://redirect.github.com/rust-random/rand/issues/1808">#1808</a>: <a href="https://redirect.github.com/rust-random/rand/pull/1808">rust-random/rand#1808</a>
<a href="https://redirect.github.com/rust-random/rand/issues/1821">#1821</a>: <a href="https://redirect.github.com/rust-random/rand/pull/1821">rust-random/rand#1821</a>
<a href="https://redirect.github.com/rust-random/rand/issues/1831">#1831</a>: <a href="https://redirect.github.com/rust-random/rand/pull/1831">rust-random/rand#1831</a>
<a href="https://redirect.github.com/rust-random/rand/issues/1838">#1838</a>: <a href="https://redirect.github.com/rust-random/rand/pull/1838">rust-random/rand#1838</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rust-random/rand/commit/9e7d328f60d6372ae22927f37d1a816fc980f25e"><code>9e7d328</code></a> Prepare rand 0.10.3 (<a href="https://redirect.github.com/rust-random/rand/issues/1840">#1840</a>)</li>
<li><a href="https://github.com/rust-random/rand/commit/f73ce74d4ac8f47259e871e22939c6c52e17befe"><code>f73ce74</code></a> Optimize WeightedIndex weight lookup and iteration (<a href="https://redirect.github.com/rust-random/rand/issues/1838">#1838</a>)</li>
<li><a href="https://github.com/rust-random/rand/commit/ef9e044b6b1f5fe541516d4b622c9c2d9932d789"><code>ef9e044</code></a> Avoid panic from deserialized <code>Uniform\&lt;char&gt;</code> where <code>range == 0</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1831">#1831</a>)</li>
<li><a href="https://github.com/rust-random/rand/commit/c994eb1e40ab8cc9a929cfe11b345f7296bca393"><code>c994eb1</code></a> docs: fix angle unit in quick start example (<a href="https://redirect.github.com/rust-random/rand/issues/1839">#1839</a>)</li>
<li><a href="https://github.com/rust-random/rand/commit/33dea4fcd044c3425fd8f35ffc9d203c652c3d73"><code>33dea4f</code></a> Test that WeightedIndex rejects INFINITY with Error::Overflow (<a href="https://redirect.github.com/rust-random/rand/issues/1822">#1822</a>)</li>
<li><a href="https://github.com/rust-random/rand/commit/94c9078267aa9ea4e9ad61bd552b35245c995830"><code>94c9078</code></a> Fix Uniform::new_inclusive overflow on large finite float ranges (<a href="https://redirect.github.com/rust-random/rand/issues/1821">#1821</a>)</li>
<li><a href="https://github.com/rust-random/rand/commit/bb1262f703ca04e4ce56be78e1dc4e204cd6a998"><code>bb1262f</code></a> Use Xoshiro256PlusPlus in examples/rayon-monte-carlo.rs (<a href="https://redirect.github.com/rust-random/rand/issues/1805">#1805</a>)</li>
<li><a href="https://github.com/rust-random/rand/commit/521fab6a1bcf349760d2581c2143fbc1aafe8798"><code>521fab6</code></a> Stop pinning dependencies (<a href="https://redirect.github.com/rust-random/rand/issues/1820">#1820</a>)</li>
<li><a href="https://github.com/rust-random/rand/commit/3f7c4335fd6ba118aaed1ab59b1964808a955d4d"><code>3f7c433</code></a> Stop pinning dependencies</li>
<li><a href="https://github.com/rust-random/rand/commit/cf4f73e3953ffcf97f575317a07f0fd5983bfe9e"><code>cf4f73e</code></a> sample_efraimidis_spirakis: error on more than amount non-finite weights (<a href="https://redirect.github.com/rust-random/rand/issues/1814">#1814</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rust-random/rand/compare/0.10.2...0.10.3">compare view</a></li>
</ul>
</details>
<br />

![Dependabot compatibility score](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: Xynnn007 Review duration: 1058m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1803"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%