Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support rand 0.9 #598

Merged
merged 1 commit into from
Mar 25, 2025
Merged

support rand 0.9 #598

merged 1 commit into from
Mar 25, 2025

Conversation

paretje
Copy link
Contributor

@paretje paretje commented Mar 9, 2025

At the moment a cargo install of joshuto fails, because rand::distributions was renamed to rand::distr with quite a few other API changes in 0.9. This fixes this, and I bumped the version requirement to 0.9. rand::thread_rng() generates a deprecation warning, as it has been renamed to rand::rng(), so I updated that as well.

Verified

This commit was signed with the committer’s verified signature.
paretje Kevin Velghe
@kamiyaa kamiyaa merged commit e32d6df into kamiyaa:main Mar 25, 2025
4 checks passed
@kamiyaa
Copy link
Owner

kamiyaa commented Mar 25, 2025

Thanks!

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.

None yet

2 participants