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 signature to v2.0.0-pre.2; use impl CryptoRngCore #579

Merged
merged 1 commit into from
Nov 4, 2022

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Nov 4, 2022

As discussed in RustCrypto/traits#1148, this uses &mut impl CryptoRngCore as the API for passing CSRNGs.

This removes the need for a generic parameter in the type signature while also keeping syntax to a minimum.

The traits in signature v2.0.0-pre.2 switched to these APIs. See RustCrypto/traits#1147.

As discussed in RustCrypto/traits#1148, this uses
`&mut impl CryptoRngCore` as the API for passing CSRNGs.

This removes the need for a generic parameter in the type signature
while also keeping syntax to a minimum.

The traits in `signature` v2.0.0-pre.2 switched to these APIs. See
RustCrypto/traits#1147.
@tarcieri tarcieri merged commit 1578fe3 into master Nov 4, 2022
@tarcieri tarcieri deleted the use-impl-cryptorngcore branch November 4, 2022 17:15
@tarcieri tarcieri mentioned this pull request Jan 15, 2023
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.

1 participant