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

bump rand_core from 0.6.4 to 0.9.2; edition 2024; bump MSRV to 1.85 #478

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

baloo
Copy link
Member

@baloo baloo commented Feb 14, 2025

@baloo baloo force-pushed the baloo/rand-core/0.9.0 branch 2 times, most recently from ca5074d to 79160ae Compare February 14, 2025 22:58
@baloo baloo force-pushed the baloo/rand-core/0.9.0 branch 3 times, most recently from e8d858e to 6402dde Compare February 16, 2025 20:41
@baloo baloo changed the title bump rand_core from 0.6.4 to 0.9.0 bump rand_core from 0.6.4 to 0.9.1 Feb 16, 2025
@baloo baloo force-pushed the baloo/rand-core/0.9.0 branch 2 times, most recently from 3babac7 to a61d022 Compare February 18, 2025 20:45
@baloo baloo force-pushed the baloo/rand-core/0.9.0 branch 5 times, most recently from 1c7dc3c to 1aab5a9 Compare February 20, 2025 17:45
@baloo baloo force-pushed the baloo/rand-core/0.9.0 branch from 1aab5a9 to 612d94f Compare February 22, 2025 19:59
@baloo baloo changed the title bump rand_core from 0.6.4 to 0.9.1 bump rand_core from 0.6.4 to 0.9.2 Feb 22, 2025
@baloo baloo force-pushed the baloo/rand-core/0.9.0 branch from 612d94f to c3e9a87 Compare February 22, 2025 19:59
@baloo
Copy link
Member Author

baloo commented Feb 22, 2025

I believe this is now ready to merge.

@baloo
Copy link
Member Author

baloo commented Feb 22, 2025

nightly doesn't have edition2024 ?! This is going to be interesting.

@newpavlov
Copy link
Member

newpavlov commented Feb 22, 2025

You need to update the pinned nightly version here.

Could you also look into why the minimal-versions job fails?

@baloo baloo force-pushed the baloo/rand-core/0.9.0 branch 2 times, most recently from 4e1191a to 241340f Compare February 22, 2025 20:10
@baloo
Copy link
Member Author

baloo commented Feb 22, 2025

Ha i missed the pin! thank you!

I think the minimal-version was because I forgot to bump the version of crypto-primes.

@baloo baloo force-pushed the baloo/rand-core/0.9.0 branch from 241340f to 82d679f Compare February 22, 2025 20:30
@baloo
Copy link
Member Author

baloo commented Feb 22, 2025

tests fixed \o/

Copy link
Member

@newpavlov newpavlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The comments below are not relevant to this PR per se, but it could be worth to fix them while we are at it.

@baloo baloo force-pushed the baloo/rand-core/0.9.0 branch from 82d679f to 20fcb3e Compare February 22, 2025 21:31
@@ -139,7 +151,7 @@ where
D: Digest + FixedOutputReset,
{
fn sign_prehash(&self, prehash: &[u8]) -> signature::Result<Signature> {
self.sign_prehash_with_rng(&mut OsRng, prehash)
self.sign_prehash_with_rng(&mut OsRng.unwrap_err(), prehash)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe something we can improve here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@baloo baloo force-pushed the baloo/rand-core/0.9.0 branch 2 times, most recently from 84f79c1 to e174e9f Compare February 22, 2025 21:52
@baloo
Copy link
Member Author

baloo commented Feb 22, 2025

huum, wait I also need to pull RustCrypto/traits#1766

@baloo baloo marked this pull request as draft February 22, 2025 22:01
@baloo baloo force-pushed the baloo/rand-core/0.9.0 branch from e174e9f to 35f1ab1 Compare February 22, 2025 22:03
@baloo baloo marked this pull request as ready for review February 22, 2025 22:03
@baloo baloo force-pushed the baloo/rand-core/0.9.0 branch from 35f1ab1 to 503031a Compare February 25, 2025 17:44
@baloo baloo changed the title bump rand_core from 0.6.4 to 0.9.2 bump rand_core from 0.6.4 to 0.9.2; edition 2024; bump MSRV to 1.85 Feb 25, 2025
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.

rand_core v0.9 support
2 participants