From 924754f6651817c90b7b308a2acbc59c61147fab Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Wed, 8 May 2024 14:17:52 +0200 Subject: [PATCH] avoid pulling in quinn itself --- Cargo.lock | 50 +------------------------------------------- iroh-docs/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 50 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bd7d79c7e6..c760c4a5d2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2606,12 +2606,12 @@ dependencies = [ "iroh-blake3", "iroh-metrics", "iroh-net", + "iroh-quinn", "iroh-test", "lru", "num_enum", "postcard", "proptest", - "quinn", "rand", "rand_chacha", "rand_core", @@ -3989,54 +3989,6 @@ version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" -[[package]] -name = "quinn" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cc2c5017e4b43d5995dcea317bc46c1e09404c0a9664d2908f7f02dfe943d75" -dependencies = [ - "bytes", - "pin-project-lite", - "quinn-proto", - "quinn-udp", - "rustc-hash", - "rustls", - "thiserror", - "tokio", - "tracing", -] - -[[package]] -name = "quinn-proto" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "141bf7dfde2fbc246bfd3fe12f2455aa24b0fbd9af535d8c86c7bd1381ff2b1a" -dependencies = [ - "bytes", - "rand", - "ring 0.16.20", - "rustc-hash", - "rustls", - "rustls-native-certs", - "slab", - "thiserror", - "tinyvec", - "tracing", -] - -[[package]] -name = "quinn-udp" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "055b4e778e8feb9f93c4e439f71dc2156ef13360b432b799e179a8c4cdf0b1d7" -dependencies = [ - "bytes", - "libc", - "socket2", - "tracing", - "windows-sys 0.48.0", -] - [[package]] name = "quote" version = "1.0.36" diff --git a/iroh-docs/Cargo.toml b/iroh-docs/Cargo.toml index aa9b9839f8..fb517fb62e 100644 --- a/iroh-docs/Cargo.toml +++ b/iroh-docs/Cargo.toml @@ -43,7 +43,7 @@ tempfile = { version = "3.4" } iroh-net = { version = "0.15.0", optional = true, path = "../iroh-net" } tokio-util = { version = "0.7", optional = true, features = ["codec", "io-util", "io"] } tokio-stream = { version = "0.1", optional = true, features = ["sync"]} -quinn = { version = "0.10", optional = true } +quinn = { package = "iroh-quinn", version = "0.10", optional = true } futures-util = { version = "0.3.25", optional = true } lru = "0.12" self_cell = "1.0.3"