Skip to content

chore(deps): update rust crate rand_distr to 0.6#289

Closed
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/rand_distr-0.x
Closed

chore(deps): update rust crate rand_distr to 0.6#289
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/rand_distr-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Feb 10, 2026

This PR contains the following updates:

Package Type Update Change
rand_distr (source) dev-dependencies minor 0.50.6

Release Notes

rust-random/rand_distr (rand_distr)

v0.6.0

Compare Source

  • Bump to MSRV 1.85.0 and Edition 2024 in line with rand ([#​28])
  • Update rand to version 0.10.0 ([#​31], [#​48])
Additions
  • MultiDistribution trait to sample more efficiently from multi-dimensional distributions ([#​18])
  • Add WeightedAliasIndex::weights() to reconstruct the original weights in O(n) ([#​25])
  • ConstMultiDistribution trait as support for fixed-dimension distributions ([#​29])
Changes
  • Moved Dirichlet into the new multi module and implement MultiDistribution for it ([#​18])
  • Dirichlet no longer uses const generics, which means that its size is not required at compile time. Essentially a revert of [rand#1292]. ([#​30])
Fixes
  • Fix Geometric::new for small p > 0 where 1 - p rounds to 1 ([#​36])
  • Use direct-minimal-versions ([#​38])
  • Fix panic in FisherF::new on almost zero parameters ([#​39])
  • Fix panic in NormalInverseGaussian::new with very large alpha; this is a Value-breaking change ([#​40])
  • Fix hang and debug assertion in Zipf::new on invalid parameters ([#​41])
  • Fix panic in Binomial::sample with n ≥ 2^63; this is a Value-breaking change ([#​43])
  • Error instead of producing -inf output for Exp when lambda is -0.0 ([#​44])
  • Avoid returning NaN from Gamma::sample; this is a Value-breaking change and also affects ChiSquared and Dirichlet ([#​46])

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.79%. Comparing base (7a412cd) to head (f88e7ec).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #289      +/-   ##
==========================================
- Coverage   85.80%   85.79%   -0.02%     
==========================================
  Files          75       75              
  Lines       20331    20331              
  Branches    20331    20331              
==========================================
- Hits        17446    17443       -3     
- Misses       2784     2787       +3     
  Partials      101      101              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate Bot force-pushed the renovate/rand_distr-0.x branch from 89362e9 to f88e7ec Compare May 30, 2026 22:44
@sdd sdd closed this May 30, 2026
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented May 30, 2026

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.6). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate Bot deleted the renovate/rand_distr-0.x branch May 30, 2026 22:51
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 30, 2026

Merging this PR will create unknown performance changes

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

🆕 28 new benchmarks
⏩ 312 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
🆕 WallTime nearest_n_within_unsorted: VecOfArenas + Eytzinger PF f64, 2^16 items N/A 24.2 ms N/A
🆕 WallTime nearest_one: VecOfArenas + Eytzinger f64, 2^16 items N/A 6.1 ms N/A
🆕 WallTime nearest_one: FlatVec + Eytzinger PF f64, 2^16 items N/A 6.2 ms N/A
🆕 WallTime nearest_one: VecOfArenas + Donnelly SIMD Descent f64, 2^16 items N/A 10.1 ms N/A
🆕 WallTime nearest_n_within: VecOfArenas + Eytzinger PF f64, 2^16 items N/A 27.3 ms N/A
🆕 WallTime nearest_n: VecOfArenas + Eytzinger PF f64, 2^16 items N/A 34.1 ms N/A
🆕 WallTime nearest_one: VecOfArenas + Donnelly f64, 2^16 items N/A 6.3 ms N/A
🆕 WallTime approx_nearest_one: VecOfArenas + Eytzinger PF f64, 2^16 items N/A 2.6 ms N/A
🆕 WallTime nearest_one: VecOfArenas + Eytzinger PF f64, 2^16 items N/A 6.2 ms N/A
🆕 WallTime nearest_one: VecOfArrays + Eytzinger PF f64, 2^16 items N/A 6.4 ms N/A
🆕 WallTime nearest_one: VecOfArenas + Donnelly PF f64, 2^16 items N/A 5.5 ms N/A
🆕 WallTime best_n_within: VecOfArenas + Eytzinger PF f64, 2^16 items N/A 27.7 ms N/A
🆕 WallTime nearest_one: VecOfArenas + Eytzinger PF Far f64, 2^16 items N/A 6.3 ms N/A
🆕 WallTime nearest_one: VecOfArenas + Eytzinger PF f32, 2^16 items N/A 5.9 ms N/A
🆕 Simulation best_n_within: VecOfArenas + Eytzinger PF f64, 2^16 items N/A 61 ms N/A
🆕 Simulation nearest_one: VecOfArenas + Donnelly f64, 2^16 items N/A 18.6 ms N/A
🆕 Simulation nearest_one: VecOfArenas + Eytzinger PF Far f64, 2^16 items N/A 15.4 ms N/A
🆕 Simulation nearest_one: VecOfArenas + Eytzinger PF f32, 2^16 items N/A 14.7 ms N/A
🆕 Simulation nearest_n: VecOfArenas + Eytzinger PF f64, 2^16 items N/A 60.9 ms N/A
🆕 Simulation nearest_n_within: VecOfArenas + Eytzinger PF f64, 2^16 items N/A 50.2 ms N/A
... ... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.


Comparing renovate/rand_distr-0.x (f88e7ec) with master (cb62177)2

Open in CodSpeed

Footnotes

  1. 312 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on master (7a412cd) during the generation of this report, so cb62177 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant