Skip to content

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

Merged
renovate[bot] merged 3 commits intodevelopfrom
renovate/rand_distr-0.x
Mar 19, 2026
Merged

chore(deps): update rust crate rand_distr to 0.6#7046
renovate[bot] merged 3 commits intodevelopfrom
renovate/rand_distr-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 19, 2026

This PR contains the following updates:

Package Type Update Change
rand_distr (source) workspace.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 - 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.


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

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

@renovate renovate bot added the changelog/chore A trivial change label Mar 19, 2026
@renovate renovate bot enabled auto-merge (squash) March 19, 2026 05:33
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 19, 2026

Merging this PR will not alter performance

✅ 1009 untouched benchmarks
⏩ 1515 skipped benchmarks1


Comparing renovate/rand_distr-0.x (6a9e405) with develop (7cd2206)2

Open in CodSpeed

Footnotes

  1. 1515 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 develop (bf0ec1c) during the generation of this report, so 7cd2206 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

renovate bot and others added 3 commits March 18, 2026 22:59
Signed-off-by: Robert Kruszewski <github@robertk.io>
Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005 robert3005 force-pushed the renovate/rand_distr-0.x branch from b256ccf to 6a9e405 Compare March 19, 2026 06:00
@renovate
Copy link
Contributor Author

renovate bot commented Mar 19, 2026

Edited/Blocked Notification

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

⚠️ Warning: custom changes will be lost.

@renovate renovate bot merged commit 8e706cb into develop Mar 19, 2026
55 checks passed
@renovate renovate bot deleted the renovate/rand_distr-0.x branch March 19, 2026 06:07
dimitarvdimitrov pushed a commit that referenced this pull request Mar 20, 2026
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`
(\[[#&#8203;28](https://redirect.github.com/rust-random/rand_distr/issues/28)])
- Update `rand` to version 0.10.0
(\[[#&#8203;31](https://redirect.github.com/rust-random/rand_distr/issues/31)],
\[[#&#8203;48](https://redirect.github.com/rust-random/rand_distr/issues/48)])

##### Additions

- `MultiDistribution` trait to sample more efficiently from
multi-dimensional distributions
(\[[#&#8203;18](https://redirect.github.com/rust-random/rand_distr/issues/18)])
- Add `WeightedAliasIndex::weights()` to reconstruct the original
weights in O(n)
(\[[#&#8203;25](https://redirect.github.com/rust-random/rand_distr/issues/25)])
- `ConstMultiDistribution` trait as support for fixed-dimension
distributions
(\[[#&#8203;29](https://redirect.github.com/rust-random/rand_distr/issues/29)])

##### Changes

- Moved `Dirichlet` into the new `multi` module and implement
`MultiDistribution` for it
(\[[#&#8203;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)].
(\[[#&#8203;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
(\[[#&#8203;36](https://redirect.github.com/rust-random/rand_distr/issues/36)])
- Use `direct-minimal-versions`
(\[[#&#8203;38](https://redirect.github.com/rust-random/rand_distr/issues/38)])
- Fix panic in `FisherF::new` on almost zero parameters
(\[[#&#8203;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
(\[[#&#8203;40](https://redirect.github.com/rust-random/rand_distr/issues/40)])
- Fix hang and debug assertion in `Zipf::new` on invalid parameters
(\[[#&#8203;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
(\[[#&#8203;43](https://redirect.github.com/rust-random/rand_distr/issues/43)])
- Error instead of producing `-inf` output for `Exp` when `lambda` is
`-0.0`
(\[[#&#8203;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`
(\[[#&#8203;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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/chore A trivial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant