Skip to content

Comments

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

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/rand_distr-0.x
Open

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

Conversation

@renovate
Copy link
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: 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

codecov bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.91%. Comparing base (11870f8) to head (89362e9).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #289      +/-   ##
==========================================
+ Coverage   94.88%   94.91%   +0.03%     
==========================================
  Files          54       54              
  Lines        5705     5705              
  Branches     5705     5705              
==========================================
+ Hits         5413     5415       +2     
+ Misses        274      272       -2     
  Partials       18       18              

☔ 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.

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.

0 participants