From 9e4b05b91c7e4c9fef5970d9b13a9c0a7f759838 Mon Sep 17 00:00:00 2001 From: Alex Ostrovski Date: Wed, 1 Nov 2023 12:43:48 +0200 Subject: [PATCH] Remove more unused deps --- node/Cargo.lock | 67 ---------------------------------- node/Cargo.toml | 4 +- node/actors/network/Cargo.toml | 1 - 3 files changed, 1 insertion(+), 71 deletions(-) diff --git a/node/Cargo.lock b/node/Cargo.lock index 048dcdd5..be3e5538 100644 --- a/node/Cargo.lock +++ b/node/Cargo.lock @@ -542,7 +542,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60f6d271ca33075c88028be6f04d502853d63a5ece419d269c15315d4fc1cf1d" dependencies = [ "pkcs8", - "serde", "signature", ] @@ -640,21 +639,6 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" -[[package]] -name = "futures" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - [[package]] name = "futures-channel" version = "0.3.28" @@ -662,7 +646,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" dependencies = [ "futures-core", - "futures-sink", ] [[package]] @@ -671,40 +654,6 @@ version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" -[[package]] -name = "futures-executor" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - -[[package]] -name = "futures-io" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" - -[[package]] -name = "futures-macro" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.29", -] - -[[package]] -name = "futures-sink" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" - [[package]] name = "futures-task" version = "0.3.28" @@ -717,16 +666,10 @@ version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" dependencies = [ - "futures-channel", "futures-core", - "futures-io", - "futures-macro", - "futures-sink", "futures-task", - "memchr", "pin-project-lite", "pin-utils", - "slab", ] [[package]] @@ -1074,7 +1017,6 @@ dependencies = [ "async-trait", "concurrency", "crypto", - "futures", "im", "once_cell", "pin-project", @@ -1792,15 +1734,6 @@ dependencies = [ "typenum", ] -[[package]] -name = "slab" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" -dependencies = [ - "autocfg", -] - [[package]] name = "smallvec" version = "1.11.0" diff --git a/node/Cargo.toml b/node/Cargo.toml index d560d722..4b5cd011 100644 --- a/node/Cargo.toml +++ b/node/Cargo.toml @@ -27,10 +27,8 @@ async-trait = "0.1.71" bit-vec = "0.6" blst = "0.3.10" clap = { version = "4.3.3", features = ["derive"] } -ed25519-dalek = { version = "2.0.0", features = ["serde", "rand_core"] } -futures = "0.3.28" +ed25519-dalek = { version = "2.0.0", features = ["rand_core"] } hex = "0.4.3" -hyper = { version = "0.14.27", features = ["http1", "http2","server","tcp"] } im = "15.1.0" once_cell = "1.17.1" pin-project = "1.1.0" diff --git a/node/actors/network/Cargo.toml b/node/actors/network/Cargo.toml index 7d24287a..cfa3643b 100644 --- a/node/actors/network/Cargo.toml +++ b/node/actors/network/Cargo.toml @@ -25,7 +25,6 @@ schema = { path = "../../libs/schema" } utils = { path = "../../libs/utils" } [dev-dependencies] -futures.workspace = true pretty_assertions.workspace = true test-casing.workspace = true tokio.workspace = true