From 1b3f3a0bd0f1fda7305bc26bce1d671a50b6be4c Mon Sep 17 00:00:00 2001 From: Diva M Date: Sun, 22 Oct 2023 21:41:07 -0500 Subject: [PATCH] deps(*): remove unused deps --- Cargo.lock | 42 ----------------------------------------- iroh-bytes/Cargo.toml | 1 - iroh-metrics/Cargo.toml | 1 - iroh-net/Cargo.toml | 3 --- iroh-sync/Cargo.toml | 1 - iroh/Cargo.toml | 1 - 6 files changed, 49 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 529bce3549..9cb3e15765 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -842,20 +842,6 @@ dependencies = [ "itertools 0.10.5", ] -[[package]] -name = "crossbeam" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2801af0d36612ae591caa9568261fddce32ce6e08a7275ea334a06a4ad021a2c" -dependencies = [ - "cfg-if", - "crossbeam-channel", - "crossbeam-deque", - "crossbeam-epoch", - "crossbeam-queue", - "crossbeam-utils", -] - [[package]] name = "crossbeam-channel" version = "0.5.8" @@ -890,16 +876,6 @@ dependencies = [ "scopeguard", ] -[[package]] -name = "crossbeam-queue" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add" -dependencies = [ - "cfg-if", - "crossbeam-utils", -] - [[package]] name = "crossbeam-utils" version = "0.8.16" @@ -2145,7 +2121,6 @@ dependencies = [ "iroh-net", "iroh-sync", "iroh-test", - "itertools 0.11.0", "multibase", "nix", "num_cpus", @@ -2222,7 +2197,6 @@ dependencies = [ "serde-error", "serde_test", "smallvec", - "subtle", "thiserror", "tokio", "tokio-util", @@ -2281,7 +2255,6 @@ dependencies = [ "erased_set", "hyper", "once_cell", - "paste", "prometheus-client", "struct_iterable", "tokio", @@ -2324,7 +2297,6 @@ dependencies = [ "ntest", "num_enum", "once_cell", - "os_info", "parking_lot", "postcard", "pretty_assertions", @@ -2352,14 +2324,12 @@ dependencies = [ "ssh-key", "stun-rs", "surge-ping", - "tempfile", "testdir", "thiserror", "time", "tokio", "tokio-rustls", "tokio-rustls-acme", - "tokio-stream", "tokio-util", "toml 0.8.2", "tracing", @@ -2397,7 +2367,6 @@ version = "0.7.0" dependencies = [ "anyhow", "bytes", - "crossbeam", "data-encoding", "derive_more", "ed25519-dalek", @@ -2992,17 +2961,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" -[[package]] -name = "os_info" -version = "3.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e" -dependencies = [ - "log", - "serde", - "winapi", -] - [[package]] name = "os_pipe" version = "1.1.4" diff --git a/iroh-bytes/Cargo.toml b/iroh-bytes/Cargo.toml index 6de99bf383..1af41c01c3 100644 --- a/iroh-bytes/Cargo.toml +++ b/iroh-bytes/Cargo.toml @@ -35,7 +35,6 @@ self_cell = "1.0.1" serde = { version = "1", features = ["derive"] } serde-error = "0.1.2" smallvec = { version = "1.10.0", features = ["serde", "const_new"] } -subtle = "2.4" thiserror = "1" tokio = { version = "1" } tokio-util = { version = "0.7", features = ["io-util", "io", "rt"] } diff --git a/iroh-metrics/Cargo.toml b/iroh-metrics/Cargo.toml index 8afb007cfa..e793a0fb1c 100644 --- a/iroh-metrics/Cargo.toml +++ b/iroh-metrics/Cargo.toml @@ -14,7 +14,6 @@ rust-version = "1.72" [dependencies] prometheus-client = { version = "0.21.0", optional = true } once_cell = "1.17.0" -paste = "1.0.12" tracing = "0.1" hyper = { version = "0.14.25", features = ["server", "client", "http1", "tcp"] } erased_set = "0.7" diff --git a/iroh-net/Cargo.toml b/iroh-net/Cargo.toml index 2e58f544d8..5a1b3f76c1 100644 --- a/iroh-net/Cargo.toml +++ b/iroh-net/Cargo.toml @@ -35,7 +35,6 @@ igd = { version = "0.12.1", features = ["aio"] } libc = "0.2.139" num_enum = "0.7" once_cell = "1.18.0" -os_info = "3.6.0" parking_lot = "0.12.1" postcard = { version = "1", default-features = false, features = ["alloc", "use-std", "experimental-derive"] } quinn = "0.10" @@ -55,13 +54,11 @@ socket2 = "0.5.3" ssh-key = { version = "0.6.0", features = ["ed25519", "std", "rand_core"] } stun-rs = "0.1.4" surge-ping = "0.8.0" -tempfile = "3.4" thiserror = "1" time = "0.3.20" tokio = { version = "1", features = ["io-util", "macros", "sync", "rt", "net", "fs", "io-std", "signal", "process"] } tokio-rustls = { version = "0.24" } tokio-rustls-acme = { version = "0.2" } -tokio-stream = { version = "0.1", features = ["sync"]} tokio-util = { version = "0.7", features = ["io-util", "io", "codec"] } tracing = "0.1" trust-dns-resolver = "0.23.0" diff --git a/iroh-sync/Cargo.toml b/iroh-sync/Cargo.toml index cb91ec0a02..f3b1949c58 100644 --- a/iroh-sync/Cargo.toml +++ b/iroh-sync/Cargo.toml @@ -14,7 +14,6 @@ rust-version = "1.72" [dependencies] anyhow = "1" blake3 = { package = "iroh-blake3", version = "1.4.3"} -crossbeam = "0.8.2" data-encoding = "2.4.0" derive_more = { version = "1.0.0-beta.1", features = ["debug", "deref", "display", "from", "try_into", "into", "as_ref"] } ed25519-dalek = { version = "2.0.0", features = ["serde", "rand_core"] } diff --git a/iroh/Cargo.toml b/iroh/Cargo.toml index 63b51c8838..ef60006cf9 100644 --- a/iroh/Cargo.toml +++ b/iroh/Cargo.toml @@ -26,7 +26,6 @@ iroh-bytes = { version = "0.7.0", path = "../iroh-bytes" } iroh-io = { version = "0.3.0", features = ["stats"] } iroh-metrics = { version = "0.7.0", path = "../iroh-metrics", optional = true } iroh-net = { version = "0.7.0", path = "../iroh-net" } -itertools = "0.11.0" num_cpus = { version = "1.15.0" } portable-atomic = "1" iroh-sync = { version = "0.7.0", path = "../iroh-sync" }