diff --git a/Cargo.lock b/Cargo.lock index 56488beb..9ed7d745 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2557,7 +2557,7 @@ dependencies = [ "libp2p-tls", "log", "parking_lot 0.12.3", - "quinn-proto", + "quinn-proto 0.9.6", "rand 0.8.5", "rustls 0.20.9", "thiserror", @@ -4032,20 +4032,19 @@ dependencies = [ [[package]] name = "quinn" -version = "0.9.4" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e8b432585672228923edbbf64b8b12c14e1112f62e88737655b4a083dbcd78e" +checksum = "8cc2c5017e4b43d5995dcea317bc46c1e09404c0a9664d2908f7f02dfe943d75" dependencies = [ "bytes", "pin-project-lite 0.2.14", - "quinn-proto", + "quinn-proto 0.10.6", "quinn-udp", "rustc-hash", - "rustls 0.20.9", + "rustls 0.21.12", "thiserror", "tokio", "tracing", - "webpki", ] [[package]] @@ -4066,17 +4065,34 @@ dependencies = [ "webpki", ] +[[package]] +name = "quinn-proto" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a" +dependencies = [ + "bytes", + "rand 0.8.5", + "ring 0.16.20", + "rustc-hash", + "rustls 0.21.12", + "slab", + "thiserror", + "tinyvec", + "tracing", +] + [[package]] name = "quinn-udp" -version = "0.3.2" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "641538578b21f5e5c8ea733b736895576d0fe329bb883b937db6f4d163dbaaf4" +checksum = "055b4e778e8feb9f93c4e439f71dc2156ef13360b432b799e179a8c4cdf0b1d7" dependencies = [ + "bytes", "libc", - "quinn-proto", - "socket2 0.4.10", + "socket2 0.5.7", "tracing", - "windows-sys 0.42.0", + "windows-sys 0.48.0", ] [[package]] @@ -6933,21 +6949,6 @@ dependencies = [ "windows-targets 0.52.5", ] -[[package]] -name = "windows-sys" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - [[package]] name = "windows-sys" version = "0.45.0" diff --git a/Cargo.toml b/Cargo.toml index d41e7a60..f6696b2f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ network-interface = "1.1.1" parking_lot = "0.12.3" pin-project = "1.1.0" prost = "0.12.6" -quinn = { version = "0.9.3", default-features = false, features = ["tls-rustls", "runtime-tokio"] } +quinn = { version = "0.10.2", default-features = false, features = ["tls-rustls", "runtime-tokio"] } rand = { version = "0.8.0", features = ["getrandom"] } rcgen = "0.10.0" ring = "0.16.20"