Skip to content

Commit

Permalink
deps(iroh-net): Remove direct dependency on rand_core (#2719)
Browse files Browse the repository at this point in the history
## Description

This is small and doesn't really affect anything, but removes the
direct dependency on rand_core.  There's no need for it.

## Breaking Changes

None

## Notes & open questions

I was looking for easy wins on the dependencies.  I guess this wasn't 
really it...

## Change checklist

- [x] Self-review.
- ~~[ ] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.~~
- ~~[ ] Tests if relevant.~~
- ~~[ ] All breaking changes documented.~~
  • Loading branch information
flub committed Sep 7, 2024
1 parent a733143 commit b6a64e0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion iroh-net/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ quinn = { package = "iroh-quinn", version = "0.11" }
quinn-proto = { package = "iroh-quinn-proto", version = "0.11" }
quinn-udp = { package = "iroh-quinn-udp", version = "0.5" }
rand = "0.8"
rand_core = "0.6.4"
rcgen = "0.12"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
ring = "0.17"
Expand Down
2 changes: 1 addition & 1 deletion iroh-net/src/endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,7 @@ mod tests {
use std::time::Instant;

use iroh_test::CallOnDrop;
use rand_core::SeedableRng;
use rand::SeedableRng;
use tracing::{error_span, info, info_span, Instrument};

use crate::test_utils::run_relay_server;
Expand Down

0 comments on commit b6a64e0

Please sign in to comment.