Update rand dependency to latest rc#48
Merged
dhardy merged 1 commit intorust-random:masterfrom Feb 8, 2026
Merged
Conversation
1 task
Also bump serde to resolve a version selection issue.
dhardy
approved these changes
Feb 7, 2026
Member
dhardy
left a comment
There was a problem hiding this comment.
LGTM. There shouldn't be any more code changes required for v0.10.
| rand_pcg = { version = "0.10.0-rc.9" } | ||
| # For inline examples | ||
| rand = { version = "0.10.0-rc.5", features = ["small_rng"] } | ||
| rand = { version = "0.10.0-rc.9", features = [] } |
Member
There was a problem hiding this comment.
I guess we do not need this line anymore
Member
There was a problem hiding this comment.
It does enable default features; do we use them? Probably.
Contributor
Author
There was a problem hiding this comment.
Yes, doc tests use rand::rng() and do not build without this line.
Alphare
added a commit
to Alphare/rand_distr
that referenced
this pull request
Feb 9, 2026
Pull request rust-random#48 was unlucky enough to bump the day before the final release. So far it seems like the final release is just a retag of rc10.
Alphare
added a commit
to Alphare/rand_distr
that referenced
this pull request
Feb 10, 2026
Pull request rust-random#48 was unlucky enough to bump the day before the final release. So far it seems like the final release is just a retag of rc10.
Alphare
added a commit
to Alphare/rand_distr
that referenced
this pull request
Feb 10, 2026
Pull request rust-random#48 was unlucky enough to bump the day before the final release. So far it seems like the final release is just a retag of rc10.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added aCHANGELOG.mdentrySummary
This updates
rand_distr's dependencies onrandandrand_pcgto the latest version.Motivation
Trying to fix CI.
Details
rand's RngCore/Rng traits were replaced by TryRng/Rng/RngExt.No changelog entry is added, since this is a routine internal change. (I assume the time to mention it in the changelog will be when rand 0.10.0 is released and
rand_distris updated to use it.)