chore(deps): Update rand and friends to version 0.10
#3922
Closed
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.
Description
Updates the
randdependency to version 0.10.As part of that, this also updates
rand_core,rand_chacha, and a bunch of cryptography crates likecurve25519-dalek,ed25519-dalek,digest,sha1andsha2. Some of the latter ones to prerelease versions to enable compilation.Breaking Changes
randis updated to version0.10, so theCryptoRngtrait used in the public interface of e.g.SecretKey::generatehas changed.Notes & open questions
This is still draft, because
cargo tree -i rand@0.9 -e normalstill shows quite a few libraries that haven't upgraded yet:We should probably wait for them to catch up to avoid putting two
rands in all of our user's dependency trees.Change checklist
quic-rpciroh-gossipiroh-blobsdumbpipesendme