Remove unused dependencies (#5812)

* Remove unused dependencies from lighthouse_network

* Remove unused dependencies from gossipsub

* Remove unused dependencies from network

* Remove unused dependencies from consensus/types

* Remove unused dependencies from account_manager

* Remove unused dependencies from boot_node

* Remove unused dependencies from database_manager

* Remove unused dependencies from validator_manager

* Remove unused dependencies from testing/ef_tests

* Remove unused dependencies from testing/simulator

* Remove unused dependencies from testing/execution_engine_integration

* Remove unused dependencies from common/system_health

* Remove unused dependencies from common/eth2

* Remove unused dependencies from common/lighthouse_metrics

* Remove unused dependencies from common/eth2_network_config

* Remove unused dependencies from common/logging

* Remove unused dependencies from watch

* Remove unused dependencies from slasher

* Remove unused dependencies from lighthouse

* Remove unused dependencies from lcli

* Remove unused dependencies from beacon_node

* Remove unused dependencies from beacon_node/builder_client

* Remove unused dependencies from beacon_node/beacon_processor

* Remove unused dependencies from beacon_node/execution_layer

* Remove unused dependencies from beacon_node/eth1

* Remove unused dependencies from beacon_node/client

* Remove unused dependencies from beacon_node/store

* Fix missing deps which is used only for testing
This commit is contained in:
Akihito Nakano
2024-05-27 16:59:07 +09:00
committed by GitHub
parent 393c5bcb8a
commit 6f05863007
28 changed files with 1 additions and 135 deletions

67
Cargo.lock generated
View File

@@ -30,10 +30,7 @@ dependencies = [
"filesystem",
"safe_arith",
"sensitive_url",
"serde",
"serde_json",
"slashing_protection",
"slog",
"slot_clock",
"tempfile",
"tokio",
@@ -822,19 +819,15 @@ dependencies = [
"dirs",
"environment",
"eth2_config",
"eth2_network_config",
"execution_layer",
"futures",
"genesis",
"hex",
"http_api",
"hyper 1.3.1",
"lighthouse_network",
"lighthouse_version",
"monitoring_api",
"node_test_rig",
"sensitive_url",
"serde",
"serde_json",
"slasher",
"slog",
@@ -849,11 +842,8 @@ dependencies = [
name = "beacon_processor"
version = "0.1.0"
dependencies = [
"derivative",
"ethereum_ssz",
"fnv",
"futures",
"hex",
"itertools",
"lazy_static",
"lighthouse_metrics",
@@ -1037,12 +1027,9 @@ dependencies = [
"log",
"logging",
"serde",
"serde_json",
"serde_yaml",
"slog",
"slog-async",
"slog-scope",
"slog-stdlog",
"slog-term",
"tokio",
"types",
@@ -1072,7 +1059,6 @@ dependencies = [
"reqwest",
"sensitive_url",
"serde",
"serde_json",
]
[[package]]
@@ -1341,12 +1327,9 @@ dependencies = [
"lazy_static",
"lighthouse_metrics",
"lighthouse_network",
"logging",
"monitoring_api",
"network",
"num_cpus",
"operation_pool",
"parking_lot 0.12.2",
"sensitive_url",
"serde",
"serde_yaml",
@@ -1360,7 +1343,6 @@ dependencies = [
"time",
"timer",
"tokio",
"tree_hash",
"types",
]
@@ -1786,12 +1768,9 @@ dependencies = [
"clap_utils",
"environment",
"hex",
"logging",
"slog",
"sloggers",
"store",
"strum",
"tempfile",
"types",
]
@@ -2132,13 +2111,11 @@ version = "0.2.0"
dependencies = [
"beacon_chain",
"bls",
"cached_tree_hash",
"compare_fields",
"compare_fields_derive",
"derivative",
"eth2_network_config",
"ethereum-types 0.14.1",
"ethereum_serde_utils",
"ethereum_ssz",
"ethereum_ssz_derive",
"execution_layer",
@@ -2154,7 +2131,6 @@ dependencies = [
"serde_yaml",
"snap",
"state_processing",
"store",
"swap_or_not_shuffle",
"tree_hash",
"tree_hash_derive",
@@ -2336,15 +2312,12 @@ dependencies = [
"ethereum_ssz_derive",
"execution_layer",
"futures",
"hex",
"lazy_static",
"lighthouse_metrics",
"merkle_proof",
"parking_lot 0.12.2",
"reqwest",
"sensitive_url",
"serde",
"serde_json",
"serde_yaml",
"slog",
"sloggers",
@@ -2386,7 +2359,6 @@ dependencies = [
"libsecp256k1",
"lighthouse_network",
"mediatype",
"mime",
"pretty_reqwest_error",
"procfs",
"proto_array",
@@ -2400,7 +2372,6 @@ dependencies = [
"ssz_types",
"store",
"tokio",
"tree_hash",
"types",
]
@@ -2472,7 +2443,6 @@ dependencies = [
"pretty_reqwest_error",
"reqwest",
"sensitive_url",
"serde_json",
"serde_yaml",
"sha2 0.9.9",
"slog",
@@ -2802,7 +2772,6 @@ version = "0.1.0"
dependencies = [
"async-channel",
"deposit_contract",
"environment",
"ethers-core",
"ethers-providers",
"execution_layer",
@@ -2827,7 +2796,6 @@ dependencies = [
"alloy-consensus",
"alloy-rlp",
"arc-swap",
"async-trait",
"builder_client",
"bytes",
"environment",
@@ -2837,7 +2805,6 @@ dependencies = [
"ethereum_ssz",
"ethers-core",
"fork_choice",
"futures",
"hash-db",
"hash256-std-hasher",
"hex",
@@ -3350,7 +3317,6 @@ dependencies = [
"regex",
"serde",
"sha2 0.10.8",
"smallvec",
"tracing",
"void",
]
@@ -4290,7 +4256,6 @@ dependencies = [
"clap",
"clap_utils",
"deposit_contract",
"directory",
"env_logger 0.9.3",
"environment",
"eth1_test_rig",
@@ -4302,7 +4267,6 @@ dependencies = [
"execution_layer",
"genesis",
"hex",
"int_to_bytes",
"lighthouse_network",
"lighthouse_version",
"log",
@@ -4889,10 +4853,8 @@ dependencies = [
"slasher",
"slashing_protection",
"slog",
"sloggers",
"task_executor",
"tempfile",
"tracing-subscriber",
"types",
"unused_port",
"validator_client",
@@ -4904,7 +4866,6 @@ dependencies = [
name = "lighthouse_metrics"
version = "0.2.0"
dependencies = [
"lazy_static",
"prometheus",
]
@@ -4913,8 +4874,6 @@ name = "lighthouse_network"
version = "0.2.0"
dependencies = [
"async-channel",
"base64 0.21.7",
"byteorder",
"bytes",
"delay_map",
"directory",
@@ -4926,11 +4885,8 @@ dependencies = [
"ethereum_ssz_derive",
"fnv",
"futures",
"futures-ticker",
"getrandom",
"gossipsub",
"hex",
"hex_fmt",
"instant",
"lazy_static",
"libp2p",
@@ -4961,9 +4917,6 @@ dependencies = [
"tokio",
"tokio-io-timeout",
"tokio-util 0.6.10",
"tracing",
"tree_hash",
"tree_hash_derive",
"types",
"unsigned-varint 0.6.0",
"unused_port",
@@ -5053,7 +5006,6 @@ dependencies = [
"serde",
"serde_json",
"slog",
"slog-async",
"slog-term",
"sloggers",
"take_mut",
@@ -5487,10 +5439,8 @@ dependencies = [
"beacon_processor",
"delay_map",
"derivative",
"environment",
"error-chain",
"eth2",
"ethereum-types 0.14.1",
"ethereum_ssz",
"execution_layer",
"fnv",
@@ -5504,10 +5454,8 @@ dependencies = [
"lighthouse_metrics",
"lighthouse_network",
"logging",
"lru",
"lru_cache",
"matches",
"num_cpus",
"operation_pool",
"parking_lot 0.12.2",
"rand",
@@ -5524,7 +5472,6 @@ dependencies = [
"task_executor",
"tokio",
"tokio-stream",
"tokio-util 0.6.10",
"types",
]
@@ -7588,9 +7535,7 @@ version = "0.2.0"
dependencies = [
"clap",
"env_logger 0.9.3",
"eth1",
"eth2_network_config",
"ethereum-types 0.14.1",
"execution_layer",
"futures",
"node_test_rig",
@@ -7598,7 +7543,6 @@ dependencies = [
"rayon",
"sensitive_url",
"serde_json",
"ssz_types",
"tokio",
"types",
]
@@ -7642,7 +7586,6 @@ dependencies = [
"safe_arith",
"serde",
"slog",
"sloggers",
"strum",
"tempfile",
"tree_hash",
@@ -7952,7 +7895,6 @@ name = "store"
version = "0.2.0"
dependencies = [
"beacon_chain",
"bls",
"db-key",
"directory",
"ethereum_ssz",
@@ -7961,14 +7903,11 @@ dependencies = [
"lazy_static",
"leveldb",
"lighthouse_metrics",
"logging",
"lru",
"parking_lot 0.12.2",
"safe_arith",
"serde",
"slog",
"sloggers",
"smallvec",
"state_processing",
"strum",
"tempfile",
@@ -8138,7 +8077,6 @@ dependencies = [
"lighthouse_network",
"parking_lot 0.12.2",
"serde",
"serde_json",
"sysinfo",
"types",
]
@@ -8812,7 +8750,6 @@ dependencies = [
"smallvec",
"ssz_types",
"state_processing",
"strum",
"superstruct",
"swap_or_not_shuffle",
"tempfile",
@@ -9068,12 +9005,10 @@ name = "validator_manager"
version = "0.1.0"
dependencies = [
"account_utils",
"bls",
"clap",
"clap_utils",
"environment",
"eth2",
"eth2_keystore",
"eth2_network_config",
"eth2_wallet",
"ethereum_serde_utils",
@@ -9309,13 +9244,11 @@ dependencies = [
"beacon_chain",
"beacon_node",
"bls",
"byteorder",
"clap",
"diesel",
"diesel_migrations",
"env_logger 0.9.3",
"eth2",
"hex",
"http_api",
"hyper 1.3.1",
"log",