Skip to content

Upgrade rand to 0.9#322

Closed
divergentdave wants to merge 5 commits into
rust-num:masterfrom
divergentdave:rand-0.9
Closed

Upgrade rand to 0.9#322
divergentdave wants to merge 5 commits into
rust-num:masterfrom
divergentdave:rand-0.9

Conversation

@divergentdave

Copy link
Copy Markdown

This bumps the crate version, MSRV, and rand dependency. I also changed some panics into errors in trait methods that are now fallible, and renamed the methods of RandBigInt to align with changes in the Rng trait.

@yhx-12243

Copy link
Copy Markdown
Contributor

Is this already discussed in #317?

@divergentdave

Copy link
Copy Markdown
Author

Yes, but this PR is limited to upgrading the rand dependency, excluding additional clippy suggestions.

@Xuanwo

Xuanwo commented Mar 12, 2025

Copy link
Copy Markdown

Hi @cuviper, do you have time to take a look at this? This will disrupt our community's efforts to migrate to Rand 0.9.

Or do we have other committers who can check it out?

@QuantumExplorer

Copy link
Copy Markdown

Would be great to see this merged in.

@rkdud007

Copy link
Copy Markdown

+1

@xtqqczze

Copy link
Copy Markdown
Contributor

I've suggested we cut a release with this merged before #338, so that there's a release available with a MSRV of 1.63.

@xtqqczze xtqqczze mentioned this pull request Feb 22, 2026
@cuviper

cuviper commented Jul 2, 2026

Copy link
Copy Markdown
Member

The rand upgrade is done in #338 and published 0.5.0.

@cuviper cuviper closed this Jul 2, 2026
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.

7 participants