From e6051fd99ab32d8c819db5656ce7abb3120c7408 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 10:56:58 +0000 Subject: [PATCH] deps: bump rand from 0.8.5 to 0.10.0 Bumps [rand](https://github.com/rust-random/rand) from 0.8.5 to 0.10.0. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/compare/0.8.5...0.10.0) --- updated-dependencies: - dependency-name: rand dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 84 +++++++++++++-------------- core/Cargo.toml | 2 +- examples/autonatv2/Cargo.toml | 2 +- examples/browser-webrtc/Cargo.toml | 2 +- examples/stream/Cargo.toml | 2 +- identity/Cargo.toml | 2 +- interop-tests/Cargo.toml | 2 +- misc/connection-limits/Cargo.toml | 2 +- misc/webrtc-utils/Cargo.toml | 2 +- muxers/mplex/Cargo.toml | 2 +- protocols/autonat/Cargo.toml | 2 +- protocols/floodsub/Cargo.toml | 2 +- protocols/gossipsub/Cargo.toml | 2 +- protocols/kad/Cargo.toml | 2 +- protocols/mdns/Cargo.toml | 2 +- protocols/ping/Cargo.toml | 2 +- protocols/relay/Cargo.toml | 2 +- protocols/rendezvous/Cargo.toml | 4 +- protocols/request-response/Cargo.toml | 4 +- protocols/stream/Cargo.toml | 2 +- swarm/Cargo.toml | 2 +- transports/noise/Cargo.toml | 2 +- transports/pnet/Cargo.toml | 2 +- transports/quic/Cargo.toml | 2 +- transports/webrtc/Cargo.toml | 2 +- 25 files changed, 68 insertions(+), 68 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f86ab98f70a..3aec16febfb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -355,7 +355,7 @@ dependencies = [ "opentelemetry", "opentelemetry-otlp", "opentelemetry_sdk", - "rand 0.8.5", + "rand 0.10.0", "tokio", "tracing", "tracing-opentelemetry", @@ -517,7 +517,7 @@ dependencies = [ "libp2p-webrtc", "libp2p-webrtc-websys", "mime_guess", - "rand 0.8.5", + "rand 0.10.0", "rust-embed", "tokio", "tokio-util", @@ -2262,7 +2262,7 @@ dependencies = [ "bytes", "log", "portable-atomic", - "rand 0.8.5", + "rand 0.8.6", "rtcp", "rtp", "thiserror 1.0.69", @@ -2288,7 +2288,7 @@ dependencies = [ "libp2p-webrtc", "libp2p-webrtc-websys", "mime_guess", - "rand 0.8.5", + "rand 0.10.0", "redis", "reqwest", "rust-embed", @@ -2615,7 +2615,7 @@ dependencies = [ "libp2p-swarm-test", "quick-protobuf", "quick-protobuf-codec", - "rand 0.8.5", + "rand 0.10.0", "rand_core 0.6.4", "thiserror 2.0.18", "tokio", @@ -2636,7 +2636,7 @@ dependencies = [ "libp2p-swarm-derive", "libp2p-swarm-test", "quickcheck-ext", - "rand 0.8.5", + "rand 0.10.0", "tokio", ] @@ -2657,7 +2657,7 @@ dependencies = [ "parking_lot", "pin-project", "quick-protobuf", - "rand 0.8.5", + "rand 0.10.0", "rw-stream-sink", "thiserror 2.0.18", "tokio", @@ -2723,7 +2723,7 @@ dependencies = [ "libp2p-swarm", "quick-protobuf", "quick-protobuf-codec", - "rand 0.8.5", + "rand 0.10.0", "smallvec", "thiserror 2.0.18", "tracing", @@ -2753,7 +2753,7 @@ dependencies = [ "quick-protobuf", "quick-protobuf-codec", "quickcheck-ext", - "rand 0.8.5", + "rand 0.10.0", "regex", "serde", "sha2", @@ -2800,7 +2800,7 @@ dependencies = [ "p256", "quick-protobuf", "quickcheck-ext", - "rand 0.8.5", + "rand 0.10.0", "ring", "rmp-serde", "sec1", @@ -2833,7 +2833,7 @@ dependencies = [ "quick-protobuf", "quick-protobuf-codec", "quickcheck-ext", - "rand 0.8.5", + "rand 0.10.0", "serde", "sha2", "smallvec", @@ -2856,7 +2856,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "libp2p-swarm-test", - "rand 0.8.5", + "rand 0.10.0", "smallvec", "socket2 0.6.3", "tokio", @@ -2915,7 +2915,7 @@ dependencies = [ "nohash-hasher", "parking_lot", "quickcheck-ext", - "rand 0.8.5", + "rand 0.10.0", "smallvec", "tokio", "tracing", @@ -2948,7 +2948,7 @@ dependencies = [ "multihash", "quick-protobuf", "quickcheck-ext", - "rand 0.8.5", + "rand 0.10.0", "snow", "static_assertions", "thiserror 2.0.18", @@ -3009,7 +3009,7 @@ dependencies = [ "libp2p-swarm", "libp2p-swarm-test", "quickcheck-ext", - "rand 0.8.5", + "rand 0.10.0", "tokio", "tracing", "web-time", @@ -3046,7 +3046,7 @@ dependencies = [ "libp2p-yamux", "pin-project", "quickcheck-ext", - "rand 0.8.5", + "rand 0.10.0", "salsa20", "sha3", "tokio", @@ -3069,7 +3069,7 @@ dependencies = [ "libp2p-yamux", "quickcheck", "quinn", - "rand 0.8.5", + "rand 0.10.0", "ring", "rustls", "socket2 0.6.3", @@ -3099,7 +3099,7 @@ dependencies = [ "quick-protobuf", "quick-protobuf-codec", "quickcheck-ext", - "rand 0.8.5", + "rand 0.10.0", "static_assertions", "thiserror 2.0.18", "tokio", @@ -3124,7 +3124,7 @@ dependencies = [ "libp2p-swarm-test", "quick-protobuf", "quick-protobuf-codec", - "rand 0.8.5", + "rand 0.10.0", "thiserror 2.0.18", "tokio", "tracing", @@ -3145,7 +3145,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "libp2p-swarm-test", - "rand 0.8.5", + "rand 0.10.0", "serde", "serde_json", "smallvec", @@ -3181,7 +3181,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "libp2p-swarm-test", - "rand 0.8.5", + "rand 0.10.0", "tokio", "tracing", "tracing-subscriber", @@ -3209,7 +3209,7 @@ dependencies = [ "libp2p-yamux", "multistream-select", "quickcheck-ext", - "rand 0.8.5", + "rand 0.10.0", "smallvec", "tokio", "tracing", @@ -3319,7 +3319,7 @@ dependencies = [ "libp2p-webrtc-utils", "multihash", "quickcheck", - "rand 0.8.5", + "rand 0.10.0", "rcgen", "stun", "thiserror 2.0.18", @@ -3344,7 +3344,7 @@ dependencies = [ "libp2p-noise", "quick-protobuf", "quick-protobuf-codec", - "rand 0.8.5", + "rand 0.10.0", "serde", "sha2", "tinytemplate", @@ -4026,7 +4026,7 @@ dependencies = [ "glob", "opentelemetry", "percent-encoding", - "rand 0.8.5", + "rand 0.8.6", "serde_json", "thiserror 1.0.69", "tokio", @@ -4497,9 +4497,9 @@ dependencies = [ [[package]] name = "rand" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "5ca0ecfa931c29007047d1bc58e623ab12e5590e8c7cc53200d5202b69266d8a" dependencies = [ "libc", "rand_chacha 0.3.1", @@ -4869,7 +4869,7 @@ dependencies = [ "bytes", "memchr", "portable-atomic", - "rand 0.8.5", + "rand 0.8.6", "serde", "thiserror 1.0.69", "webrtc-util", @@ -5062,7 +5062,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "02a526161f474ae94b966ba622379d939a8fe46c930eebbadb73e339622599d5" dependencies = [ - "rand 0.8.5", + "rand 0.8.6", "substring", "thiserror 1.0.69", "url", @@ -5375,7 +5375,7 @@ dependencies = [ "futures", "httparse", "log", - "rand 0.8.5", + "rand 0.8.6", "sha1", ] @@ -5409,7 +5409,7 @@ dependencies = [ "futures", "libp2p", "libp2p-stream", - "rand 0.8.5", + "rand 0.10.0", "tokio", "tracing", "tracing-subscriber", @@ -5462,7 +5462,7 @@ dependencies = [ "crc", "lazy_static", "md-5", - "rand 0.8.5", + "rand 0.8.6", "ring", "subtle", "thiserror 1.0.69", @@ -5903,7 +5903,7 @@ dependencies = [ "indexmap 1.9.3", "pin-project", "pin-project-lite", - "rand 0.8.5", + "rand 0.8.6", "slab", "tokio", "tokio-util", @@ -6107,7 +6107,7 @@ dependencies = [ "log", "md-5", "portable-atomic", - "rand 0.8.5", + "rand 0.8.6", "ring", "stun", "thiserror 1.0.69", @@ -6505,7 +6505,7 @@ dependencies = [ "log", "pem", "portable-atomic", - "rand 0.8.5", + "rand 0.8.6", "rcgen", "regex", "ring", @@ -6570,7 +6570,7 @@ dependencies = [ "p384", "pem", "portable-atomic", - "rand 0.8.5", + "rand 0.8.6", "rand_core 0.6.4", "rcgen", "ring", @@ -6598,7 +6598,7 @@ dependencies = [ "crc", "log", "portable-atomic", - "rand 0.8.5", + "rand 0.8.6", "serde", "serde_json", "stun", @@ -6633,7 +6633,7 @@ checksum = "e153be16b8650021ad3e9e49ab6e5fa9fb7f6d1c23c213fd8bbd1a1135a4c704" dependencies = [ "byteorder", "bytes", - "rand 0.8.5", + "rand 0.8.6", "rtp", "thiserror 1.0.69", ] @@ -6650,7 +6650,7 @@ dependencies = [ "crc", "log", "portable-atomic", - "rand 0.8.5", + "rand 0.8.6", "thiserror 1.0.69", "tokio", "webrtc-util", @@ -6694,7 +6694,7 @@ dependencies = [ "log", "nix 0.26.4", "portable-atomic", - "rand 0.8.5", + "rand 0.8.6", "thiserror 1.0.69", "tokio", "winapi", @@ -7436,7 +7436,7 @@ dependencies = [ "nohash-hasher", "parking_lot", "pin-project", - "rand 0.8.5", + "rand 0.8.6", "static_assertions", ] @@ -7451,7 +7451,7 @@ dependencies = [ "nohash-hasher", "parking_lot", "pin-project", - "rand 0.8.5", + "rand 0.8.6", "static_assertions", "web-time", ] diff --git a/core/Cargo.toml b/core/Cargo.toml index 25f9b6a7c30..3bf338bc363 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -23,7 +23,7 @@ multistream-select = { workspace = true } parking_lot = "0.12.5" pin-project = "1.1.11" quick-protobuf = "0.8" -rand = "0.8" +rand = "0.10" rw-stream-sink = { workspace = true } thiserror = { workspace = true } tracing = { workspace = true } diff --git a/examples/autonatv2/Cargo.toml b/examples/autonatv2/Cargo.toml index 869f40105c6..c18b9798526 100644 --- a/examples/autonatv2/Cargo.toml +++ b/examples/autonatv2/Cargo.toml @@ -20,7 +20,7 @@ clap = { version = "4.6.1", features = ["derive"] } tokio = { version = "1.52.1", features = ["macros", "rt-multi-thread"] } tracing = "0.1.44" tracing-subscriber = { workspace = true, features = ["env-filter"] } -rand = "0.8.5" +rand = "0.10.0" opentelemetry = { version = "0.27.0", optional = true } opentelemetry_sdk = { version = "0.27.0", optional = true, features = ["rt-tokio"] } opentelemetry-otlp = { version = "0.27.0", optional = true } diff --git a/examples/browser-webrtc/Cargo.toml b/examples/browser-webrtc/Cargo.toml index 1f88d0e4009..977a1451b93 100644 --- a/examples/browser-webrtc/Cargo.toml +++ b/examples/browser-webrtc/Cargo.toml @@ -18,7 +18,7 @@ crate-type = ["cdylib"] [dependencies] anyhow = "1.0.102" futures = { workspace = true } -rand = "0.8" +rand = "0.10" tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } diff --git a/examples/stream/Cargo.toml b/examples/stream/Cargo.toml index 3e4147231c8..a8e19b9e315 100644 --- a/examples/stream/Cargo.toml +++ b/examples/stream/Cargo.toml @@ -13,7 +13,7 @@ anyhow = "1" futures = { workspace = true } libp2p = { path = "../../libp2p", features = [ "tokio", "quic"] } libp2p-stream = { path = "../../protocols/stream", version = "0.5.0-alpha" } -rand = "0.8" +rand = "0.10" tokio = { workspace = true, features = ["full"] } tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } diff --git a/identity/Cargo.toml b/identity/Cargo.toml index 3718b9df92a..3982774090b 100644 --- a/identity/Cargo.toml +++ b/identity/Cargo.toml @@ -21,7 +21,7 @@ tracing = { workspace = true } multihash = { version = "0.19.5", optional = true } p256 = { version = "0.13", default-features = false, features = ["ecdsa", "std", "pem"], optional = true } quick-protobuf = { version = "0.8.1", optional = true } -rand = { version = "0.8", optional = true } +rand = { version = "0.10", optional = true } sec1 = { version = "0.7", default-features = false, optional = true } serde = { version = "1", optional = true, features = ["derive"] } sha2 = { version = "0.10.8", optional = true } diff --git a/interop-tests/Cargo.toml b/interop-tests/Cargo.toml index 84a390b5354..0aae940e5db 100644 --- a/interop-tests/Cargo.toml +++ b/interop-tests/Cargo.toml @@ -14,7 +14,7 @@ crate-type = ["cdylib", "rlib"] [dependencies] anyhow = "1" futures = { workspace = true } -rand = "0.8.5" +rand = "0.10.0" serde = { version = "1", features = ["derive"] } tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["env-filter"] } diff --git a/misc/connection-limits/Cargo.toml b/misc/connection-limits/Cargo.toml index 7048a6f1ee6..f54d01550af 100644 --- a/misc/connection-limits/Cargo.toml +++ b/misc/connection-limits/Cargo.toml @@ -21,7 +21,7 @@ libp2p-ping = { workspace = true } libp2p-swarm-derive = { path = "../../swarm-derive" } libp2p-swarm-test = { path = "../../swarm-test" } quickcheck = { workspace = true } -rand = "0.8.5" +rand = "0.10.0" [lints] workspace = true diff --git a/misc/webrtc-utils/Cargo.toml b/misc/webrtc-utils/Cargo.toml index 35e88c87d67..86cbec56fd3 100644 --- a/misc/webrtc-utils/Cargo.toml +++ b/misc/webrtc-utils/Cargo.toml @@ -20,7 +20,7 @@ libp2p-identity = { workspace = true } libp2p-noise = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } -rand = "0.8" +rand = "0.10" serde = { version = "1.0", features = ["derive"] } sha2 = "0.10.8" tinytemplate = "1.2" diff --git a/muxers/mplex/Cargo.toml b/muxers/mplex/Cargo.toml index 07bc2d95579..0866e24aa23 100644 --- a/muxers/mplex/Cargo.toml +++ b/muxers/mplex/Cargo.toml @@ -18,7 +18,7 @@ libp2p-core = { workspace = true } libp2p-identity = { workspace = true } nohash-hasher = "0.2" parking_lot = "0.12" -rand = "0.8" +rand = "0.10" smallvec = "1.15.1" tracing = { workspace = true } unsigned-varint = { workspace = true, features = ["asynchronous_codec"] } diff --git a/protocols/autonat/Cargo.toml b/protocols/autonat/Cargo.toml index a5691d227f3..84d5416336a 100644 --- a/protocols/autonat/Cargo.toml +++ b/protocols/autonat/Cargo.toml @@ -29,7 +29,7 @@ libp2p-swarm = { workspace = true } quick-protobuf = "0.8" tracing = { workspace = true } quick-protobuf-codec = { workspace = true } -rand = "0.8" +rand = "0.10" rand_core = { version = "0.6", optional = true } thiserror = { workspace = true, optional = true } diff --git a/protocols/floodsub/Cargo.toml b/protocols/floodsub/Cargo.toml index 0df63ee1a0a..fea296b5e49 100644 --- a/protocols/floodsub/Cargo.toml +++ b/protocols/floodsub/Cargo.toml @@ -21,7 +21,7 @@ libp2p-swarm = { workspace = true } libp2p-identity = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } -rand = "0.8" +rand = "0.10" smallvec = "1.15.1" thiserror = { workspace = true } tracing = { workspace = true } diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index c182634e447..20a4b01449b 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -32,7 +32,7 @@ libp2p-identity = { workspace = true, features = ["rand"] } libp2p-swarm = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } -rand = "0.8" +rand = "0.10" regex = "1.12.3" serde = { version = "1", optional = true, features = ["derive"] } sha2 = "0.10.8" diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index 87864489274..55876f8b87f 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -22,7 +22,7 @@ futures-bounded = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } libp2p-identity = { workspace = true, features = ["rand"] } -rand = "0.8" +rand = "0.10" sha2 = "0.10.8" smallvec = "1.15.1" uint = "0.10" diff --git a/protocols/mdns/Cargo.toml b/protocols/mdns/Cargo.toml index 68fad307d93..86934644769 100644 --- a/protocols/mdns/Cargo.toml +++ b/protocols/mdns/Cargo.toml @@ -16,7 +16,7 @@ if-watch = { workspace = true } libp2p-core = { workspace = true } libp2p-swarm = { workspace = true } libp2p-identity = { workspace = true } -rand = "0.8.3" +rand = "0.10.0" smallvec = "1.15.1" socket2 = { version = "0.6.3", features = ["all"] } tokio = { workspace = true, default-features = false, features = ["net", "time"], optional = true } diff --git a/protocols/ping/Cargo.toml b/protocols/ping/Cargo.toml index 8b00cd9287f..5e7acb2d995 100644 --- a/protocols/ping/Cargo.toml +++ b/protocols/ping/Cargo.toml @@ -17,7 +17,7 @@ web-time = { workspace = true } libp2p-core = { workspace = true } libp2p-swarm = { workspace = true } libp2p-identity = { workspace = true } -rand = "0.8" +rand = "0.10" tracing = { workspace = true } [dev-dependencies] diff --git a/protocols/relay/Cargo.toml b/protocols/relay/Cargo.toml index 779778ce7af..38bc17a2f91 100644 --- a/protocols/relay/Cargo.toml +++ b/protocols/relay/Cargo.toml @@ -23,7 +23,7 @@ libp2p-swarm = { workspace = true } libp2p-identity = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } -rand = "0.8.4" +rand = "0.10.0" static_assertions = "1" thiserror = { workspace = true } tracing = { workspace = true } diff --git a/protocols/rendezvous/Cargo.toml b/protocols/rendezvous/Cargo.toml index 86952d8c303..1c3158b3fc1 100644 --- a/protocols/rendezvous/Cargo.toml +++ b/protocols/rendezvous/Cargo.toml @@ -23,14 +23,14 @@ libp2p-identity = { workspace = true } libp2p-request-response = { workspace = true } quick-protobuf = "0.8" quick-protobuf-codec = { workspace = true } -rand = "0.8" +rand = "0.10" thiserror = { workspace = true } tracing = { workspace = true } [dev-dependencies] libp2p-swarm = { workspace = true, features = ["macros", "tokio"] } libp2p-swarm-test = { path = "../../swarm-test" } -rand = "0.8" +rand = "0.10" tokio = { workspace = true, features = [ "rt-multi-thread", "time", "macros", "sync", "process", "fs", "net" ] } tracing-subscriber = { workspace = true, features = ["env-filter"] } diff --git a/protocols/request-response/Cargo.toml b/protocols/request-response/Cargo.toml index 8d7056a719c..7c7c617d087 100644 --- a/protocols/request-response/Cargo.toml +++ b/protocols/request-response/Cargo.toml @@ -16,7 +16,7 @@ futures = { workspace = true } libp2p-core = { workspace = true } libp2p-swarm = { workspace = true } libp2p-identity = { workspace = true } -rand = "0.8" +rand = "0.10" serde = { version = "1.0", optional = true } serde_json = { version = "1.0.149", optional = true } smallvec = "1.15.1" @@ -30,7 +30,7 @@ cbor = ["dep:serde", "dep:cbor4ii", "libp2p-swarm/macros"] [dev-dependencies] anyhow = "1.0.102" tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] } -rand = "0.8" +rand = "0.10" libp2p-swarm-test = { path = "../../swarm-test" } futures_ringbuf = "0.4.0" serde = { version = "1.0", features = ["derive"] } diff --git a/protocols/stream/Cargo.toml b/protocols/stream/Cargo.toml index 73cf8ea85da..abbaefa7164 100644 --- a/protocols/stream/Cargo.toml +++ b/protocols/stream/Cargo.toml @@ -15,7 +15,7 @@ libp2p-core = { workspace = true } libp2p-identity = { workspace = true, features = ["peerid"] } libp2p-swarm = { workspace = true } tracing = { workspace = true } -rand = "0.8" +rand = "0.10" [dev-dependencies] libp2p-swarm-test = { workspace = true } diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index 22c39aeb64b..4e41411d0a4 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -21,7 +21,7 @@ libp2p-core = { workspace = true } libp2p-identity = { workspace = true } libp2p-swarm-derive = { workspace = true, optional = true } multistream-select = { workspace = true } -rand = "0.8" +rand = "0.10" smallvec = "1.15.1" tracing = { workspace = true } diff --git a/transports/noise/Cargo.toml b/transports/noise/Cargo.toml index 6c67b7b3779..43377bad1a0 100644 --- a/transports/noise/Cargo.toml +++ b/transports/noise/Cargo.toml @@ -17,7 +17,7 @@ libp2p-identity = { workspace = true, features = ["ed25519"] } multiaddr = { workspace = true } multihash = { workspace = true } quick-protobuf = "0.8" -rand = "0.8.3" +rand = "0.10.0" static_assertions = "1" thiserror = { workspace = true } tracing = { workspace = true } diff --git a/transports/pnet/Cargo.toml b/transports/pnet/Cargo.toml index e268fee56fd..35a9a80d3e9 100644 --- a/transports/pnet/Cargo.toml +++ b/transports/pnet/Cargo.toml @@ -15,7 +15,7 @@ futures = { workspace = true } salsa20 = "0.10" sha3 = "0.10" tracing = { workspace = true } -rand = "0.8" +rand = "0.10" pin-project = "1.1.11" [dev-dependencies] diff --git a/transports/quic/Cargo.toml b/transports/quic/Cargo.toml index 9e98ec13667..cef6eaa3f0a 100644 --- a/transports/quic/Cargo.toml +++ b/transports/quic/Cargo.toml @@ -16,7 +16,7 @@ libp2p-core = { workspace = true } libp2p-tls = { workspace = true } libp2p-identity = { workspace = true } quinn = { version = "0.11.9", default-features = false, features = ["rustls", "futures-io"] } -rand = "0.8.5" +rand = "0.10.0" rustls = { version = "0.23.28", default-features = false } thiserror = { workspace = true } tokio = { workspace = true, default-features = false, features = ["net", "rt", "time"], optional = true } diff --git a/transports/webrtc/Cargo.toml b/transports/webrtc/Cargo.toml index 7a963d81cc9..64eef17168a 100644 --- a/transports/webrtc/Cargo.toml +++ b/transports/webrtc/Cargo.toml @@ -21,7 +21,7 @@ libp2p-noise = { workspace = true } libp2p-identity = { workspace = true } libp2p-webrtc-utils = { workspace = true } multihash = { workspace = true } -rand = "0.8" +rand = "0.10" rcgen = { workspace = true } stun = "0.7" thiserror = { workspace = true }