From a312d105bec0c11282a4b95a549813af2813bc9d Mon Sep 17 00:00:00 2001 From: Itay Tsabary Date: Mon, 29 Jul 2024 17:10:19 +0300 Subject: [PATCH] fix: remove unused dependency in papyrus_network commit-id:540b5c34 --- Cargo.lock | 1 - crates/papyrus_network/Cargo.toml | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f80d0d87c2..586494fda0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6380,7 +6380,6 @@ dependencies = [ "assert_matches", "async-stream", "bytes", - "clap 4.5.4", "deadqueue", "defaultmap", "derive_more", diff --git a/crates/papyrus_network/Cargo.toml b/crates/papyrus_network/Cargo.toml index d417f71765..5664cfe963 100644 --- a/crates/papyrus_network/Cargo.toml +++ b/crates/papyrus_network/Cargo.toml @@ -21,15 +21,15 @@ libp2p = { workspace = true, features = [ "macros", "noise", "quic", + "serde", "tcp", "tokio", "yamux", - "serde", ] } metrics.workspace = true -replace_with.workspace = true papyrus_common = { path = "../papyrus_common", version = "0.4.0-rc.0" } papyrus_config = { path = "../papyrus_config", version = "0.4.0-rc.0" } +replace_with.workspace = true serde = { workspace = true, features = ["derive"] } thiserror.workspace = true tokio = { workspace = true, features = ["full", "sync"] } @@ -37,9 +37,6 @@ tracing.workspace = true unsigned-varint = { workspace = true, features = ["std"] } validator = { workspace = true, features = ["derive"] } -# Binaries dependencies -clap = { workspace = true, optional = true, features = ["derive"] } - [dev-dependencies] assert_matches.workspace = true