chore(portmapper): Update to rand 0.10#118
Merged
Merged
Conversation
|
Documentation for this PR has been generated and is available at: https://n0-computer.github.io/net-tools/pr/118/docs/net_tools/ Last updated: 2026-03-18T07:17:29Z |
8 tasks
dignifiedquire
approved these changes
Mar 17, 2026
matheus23
added a commit
to n0-computer/iroh
that referenced
this pull request
Mar 30, 2026
## Description Updates the `rand` dependency to version 0.10. As part of that, this also updates `rand_core`, `rand_chacha`, and a bunch of cryptography crates like `curve25519-dalek`, `ed25519-dalek`, `digest`, `sha1` and `sha2`. Some of the latter ones to prerelease versions to enable compilation. ## Breaking Changes - `iroh::SecretKey::generate`'s `CryptoRng` parameter is now updated from rand 0.9 to rand 0.10 ## Notes & open questions Although this is ready for review, it's not ready to be merged yet, because of patched dependencies. This is the current TODO list: - [x] ~~fastbloom needs to update to rand 0.10 and make a new release: tomtomwombat/fastbloom#27 (we can just disable fastbloom's rand feature) - [x] noq will need to merge n0-computer/noq#511 once unblocked from fastbloom - [x] swarm-discovery needs updating to hickory 0.26 rkuhn/swarm-discovery#21 - [x] portmapper will need to merge n0-computer/net-tools#118 - [x] tokio-websockets has released with rand 0.10 support - [x] igd-next has released with rand 0.10 support - [x] And finally, hickory has released [a first beta for version 0.26](https://docs.rs/crate/hickory-resolver/0.26.0-beta.1), but it has *a lot* of API changes and I'm working towards adjusting iroh code to them. ## Change checklist <!-- Remove any that are not relevant. --> - [x] Self-review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 to rand 0.10.
Breaking Changes
No API-breaking changes. Rand use is internal.