Rand upgrade: autoreplace "gen" with "random" etc#2041
Merged
ImplOfAnImpl merged 14 commits intomasterfrom Apr 24, 2026
Merged
Conversation
Merged
OBorce
approved these changes
Apr 23, 2026
…e `RngCoreAndCrypto` trait.
…te some comments. Pacify clippy and `cargo vet`.
…version to 20.x in .github/workflows/wasm.yml
2e45c58 to
c9f47dd
Compare
Ugrade `rand` to 0.10.1
d139600 to
252725e
Compare
Contributor
Author
|
|
32132b0 to
02c4acb
Compare
02c4acb to
d9e13ce
Compare
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.
Here I auto-replace
genandr#genwithrandom,gen_boolwithrandom_boolandgen_rangewithrandom_range.The purpose of this PR is to make #2042 smaller. The code here doesn't compile. Once both PRs are approved I'll merge #2042 into this one and then this one to master.
P.S. very few occurrences of "rand" and friends were actually meant to retain their original names, because they are called on a 0.8 RNG. I kept these redundant changes in this PR and reverted them in #2042.