chore(deps): update rust crate rand_distr to 0.6#7046
Conversation
Merging this PR will not alter performance
Comparing Footnotes
|
b256ccf to
6a9e405
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rand_distr](https://rust-random.github.io/book) ([source](https://redirect.github.com/rust-random/rand_distr)) | workspace.dependencies | minor | `0.5` → `0.6` | --- ### Release Notes <details> <summary>rust-random/rand_distr (rand_distr)</summary> ### [`v0.6.0`](https://redirect.github.com/rust-random/rand_distr/blob/HEAD/CHANGELOG.md#060--2026-02-10) [Compare Source](https://redirect.github.com/rust-random/rand_distr/compare/0.5.1...0.6.0) - Bump to MSRV 1.85.0 and Edition 2024 in line with `rand` (\[[#​28](https://redirect.github.com/rust-random/rand_distr/issues/28)]) - Update `rand` to version 0.10.0 (\[[#​31](https://redirect.github.com/rust-random/rand_distr/issues/31)], \[[#​48](https://redirect.github.com/rust-random/rand_distr/issues/48)]) ##### Additions - `MultiDistribution` trait to sample more efficiently from multi-dimensional distributions (\[[#​18](https://redirect.github.com/rust-random/rand_distr/issues/18)]) - Add `WeightedAliasIndex::weights()` to reconstruct the original weights in O(n) (\[[#​25](https://redirect.github.com/rust-random/rand_distr/issues/25)]) - `ConstMultiDistribution` trait as support for fixed-dimension distributions (\[[#​29](https://redirect.github.com/rust-random/rand_distr/issues/29)]) ##### Changes - Moved `Dirichlet` into the new `multi` module and implement `MultiDistribution` for it (\[[#​18](https://redirect.github.com/rust-random/rand_distr/issues/18)]) - `Dirichlet` no longer uses `const` generics, which means that its size is not required at compile time. Essentially a revert of \[[rand#1292](https://redirect.github.com/rand/rand_distr/issues/1292)]. (\[[#​30](https://redirect.github.com/rust-random/rand_distr/issues/30)]) ##### Fixes - Fix `Geometric::new` for small `p > 0` where `1 - p` rounds to 1 (\[[#​36](https://redirect.github.com/rust-random/rand_distr/issues/36)]) - Use `direct-minimal-versions` (\[[#​38](https://redirect.github.com/rust-random/rand_distr/issues/38)]) - Fix panic in `FisherF::new` on almost zero parameters (\[[#​39](https://redirect.github.com/rust-random/rand_distr/issues/39)]) - Fix panic in `NormalInverseGaussian::new` with very large `alpha`; this is a Value-breaking change (\[[#​40](https://redirect.github.com/rust-random/rand_distr/issues/40)]) - Fix hang and debug assertion in `Zipf::new` on invalid parameters (\[[#​41](https://redirect.github.com/rust-random/rand_distr/issues/41)]) - Fix panic in `Binomial::sample` with `n ≥ 2^63`; this is a Value-breaking change (\[[#​43](https://redirect.github.com/rust-random/rand_distr/issues/43)]) - Error instead of producing `-inf` output for `Exp` when `lambda` is `-0.0` (\[[#​44](https://redirect.github.com/rust-random/rand_distr/issues/44)]) - Avoid returning NaN from `Gamma::sample`; this is a Value-breaking change and also affects `ChiSquared` and `Dirichlet` (\[[#​46](https://redirect.github.com/rust-random/rand_distr/issues/46)]) </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/vortex-data/vortex). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My42Ni40IiwidXBkYXRlZEluVmVyIjoiNDMuNjYuNCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsiY2hhbmdlbG9nL2Nob3JlIl19--> --------- Signed-off-by: Robert Kruszewski <github@robertk.io> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Robert Kruszewski <github@robertk.io>
This PR contains the following updates:
0.5→0.6Release Notes
rust-random/rand_distr (rand_distr)
v0.6.0Compare Source
rand([#28])randto version 0.10.0 ([#31], [#48])Additions
MultiDistributiontrait to sample more efficiently from multi-dimensional distributions ([#18])WeightedAliasIndex::weights()to reconstruct the original weights in O(n) ([#25])ConstMultiDistributiontrait as support for fixed-dimension distributions ([#29])Changes
Dirichletinto the newmultimodule and implementMultiDistributionfor it ([#18])Dirichletno longer usesconstgenerics, which means that its size is not required at compile time. Essentially a revert of [rand#1292]. ([#30])Fixes
Geometric::newfor smallp > 0where1 - prounds to 1 ([#36])direct-minimal-versions([#38])FisherF::newon almost zero parameters ([#39])NormalInverseGaussian::newwith very largealpha; this is a Value-breaking change ([#40])Zipf::newon invalid parameters ([#41])Binomial::samplewithn ≥ 2^63; this is a Value-breaking change ([#43])-infoutput forExpwhenlambdais-0.0([#44])Gamma::sample; this is a Value-breaking change and also affectsChiSquaredandDirichlet([#46])Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.