From 24bfbe4f023b6451c7fc4a49fd46cc365ea1a01a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marin=20Ver=C5=A1i=C4=87?= Date: Mon, 21 Oct 2024 09:54:02 +0200 Subject: [PATCH] chore: remove unused dependencies (#5173) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marin Veršić --- Cargo.lock | 6 ------ crates/iroha/Cargo.toml | 4 ++-- crates/iroha_config/Cargo.toml | 1 - crates/iroha_executor_data_model_derive/Cargo.toml | 1 - crates/iroha_futures/Cargo.toml | 1 - crates/iroha_genesis/Cargo.toml | 1 - crates/iroha_kagami/Cargo.toml | 1 - crates/iroha_test_samples/Cargo.toml | 1 - 8 files changed, 2 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 33fc39067ec..a60aebb9e0b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3094,7 +3094,6 @@ dependencies = [ "iroha_config_base", "iroha_crypto", "iroha_data_model", - "iroha_genesis", "iroha_primitives", "json5", "nonzero_ext", @@ -3316,7 +3315,6 @@ dependencies = [ name = "iroha_executor_data_model_derive" version = "2.0.0-rc.1.0" dependencies = [ - "darling", "iroha_executor_data_model", "manyhow", "proc-macro2", @@ -3367,7 +3365,6 @@ dependencies = [ name = "iroha_futures" version = "2.0.0-rc.1.0" dependencies = [ - "futures", "iroha_config", "iroha_futures_derive", "iroha_logger", @@ -3404,7 +3401,6 @@ dependencies = [ "parity-scale-codec", "serde", "serde_json", - "tracing", ] [[package]] @@ -3414,7 +3410,6 @@ dependencies = [ "clap", "color-eyre", "derive_more", - "iroha_config", "iroha_crypto", "iroha_data_model", "iroha_executor_data_model", @@ -3715,7 +3710,6 @@ dependencies = [ "iroha_crypto", "iroha_data_model", "serde", - "toml", ] [[package]] diff --git a/crates/iroha/Cargo.toml b/crates/iroha/Cargo.toml index a97bf53a566..c729b7433dc 100644 --- a/crates/iroha/Cargo.toml +++ b/crates/iroha/Cargo.toml @@ -53,7 +53,6 @@ iroha_config_base = { workspace = true } iroha_crypto = { workspace = true } # FIXME: should remove `transparent_api` feature. Check the other FIXME comment in dev-dependencies iroha_data_model = { workspace = true, features = ["http", "transparent_api"] } -iroha_executor_data_model = { workspace = true } iroha_primitives = { workspace = true } iroha_logger = { workspace = true } iroha_telemetry = { workspace = true } @@ -82,9 +81,10 @@ toml = { workspace = true } nonzero_ext = { workspace = true } [dev-dependencies] -iroha_test_samples = { workspace = true } iroha_genesis = { workspace = true } +iroha_test_samples = { workspace = true } iroha_test_network = { workspace = true } +iroha_executor_data_model = { workspace = true } executor_custom_data_model = { version = "=2.0.0-rc.1.0", path = "../../wasm_samples/executor_custom_data_model" } tokio = { workspace = true, features = ["rt-multi-thread"] } diff --git a/crates/iroha_config/Cargo.toml b/crates/iroha_config/Cargo.toml index 68b18e6b4fd..a545f5006f2 100644 --- a/crates/iroha_config/Cargo.toml +++ b/crates/iroha_config/Cargo.toml @@ -15,7 +15,6 @@ iroha_config_base = { workspace = true } iroha_data_model = { workspace = true } iroha_primitives = { workspace = true } iroha_crypto = { workspace = true } -iroha_genesis = { workspace = true } error-stack = { workspace = true } tracing = { workspace = true } diff --git a/crates/iroha_executor_data_model_derive/Cargo.toml b/crates/iroha_executor_data_model_derive/Cargo.toml index f4dc85cfe3c..12aba17246e 100644 --- a/crates/iroha_executor_data_model_derive/Cargo.toml +++ b/crates/iroha_executor_data_model_derive/Cargo.toml @@ -16,7 +16,6 @@ proc-macro = true [dependencies] syn.workspace = true quote.workspace = true -darling.workspace = true proc-macro2.workspace = true manyhow.workspace = true diff --git a/crates/iroha_futures/Cargo.toml b/crates/iroha_futures/Cargo.toml index 4e4bc86d882..cf187501511 100644 --- a/crates/iroha_futures/Cargo.toml +++ b/crates/iroha_futures/Cargo.toml @@ -27,7 +27,6 @@ serde = { workspace = true, features = ["derive"] } tokio = { workspace = true, features = ["rt", "rt-multi-thread", "macros", "signal"] } tokio-util = { workspace = true } thiserror = { workspace = true } -futures = { workspace = true, features = ["std", "alloc"] } [dev-dependencies] tokio-stream = { version = "0.1.15", features = ["sync"] } diff --git a/crates/iroha_genesis/Cargo.toml b/crates/iroha_genesis/Cargo.toml index b7085ee7ec4..55905983f6b 100644 --- a/crates/iroha_genesis/Cargo.toml +++ b/crates/iroha_genesis/Cargo.toml @@ -18,7 +18,6 @@ iroha_data_model = { workspace = true, features = ["http"] } derive_more = { workspace = true, features = ["deref"] } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["std"] } -tracing = { workspace = true } eyre = { workspace = true } parity-scale-codec = { workspace = true } diff --git a/crates/iroha_kagami/Cargo.toml b/crates/iroha_kagami/Cargo.toml index 760f8146041..6c97b364da2 100644 --- a/crates/iroha_kagami/Cargo.toml +++ b/crates/iroha_kagami/Cargo.toml @@ -16,7 +16,6 @@ workspace = true iroha_executor_data_model.workspace = true iroha_data_model.workspace = true iroha_crypto.workspace = true -iroha_config.workspace = true iroha_schema_gen.workspace = true iroha_primitives.workspace = true iroha_genesis.workspace = true diff --git a/crates/iroha_test_samples/Cargo.toml b/crates/iroha_test_samples/Cargo.toml index 90e1d4c9506..c8d0d37192f 100644 --- a/crates/iroha_test_samples/Cargo.toml +++ b/crates/iroha_test_samples/Cargo.toml @@ -18,7 +18,6 @@ iroha_crypto = { workspace = true } iroha_data_model = { workspace = true } serde = { workspace = true, features = ["derive"] } -toml = { workspace = true } [lints] workspace = true