mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Anchor pre-PR: Dependency cleanup (#6769)
* remove ensure_dir_exists (2 deps saved) * group UNHANDLED_ERRORs into a generic (2 deps saved) * Introduce separate `health_metrics` crate * separate health_metrics crate * remove metrics from warp_utils * move ProcessHealth::observe and SystemHealth::observe to health_metrics * fix errors * nitpick `Cargo.toml`s --------- Co-authored-by: Daniel Knopik <daniel@dknopik.de> --------- Co-authored-by: ThreeHrSleep <151536303+ThreeHrSleep@users.noreply.github.com>
This commit is contained in:
22
Cargo.lock
generated
22
Cargo.lock
generated
@@ -43,7 +43,6 @@ dependencies = [
|
||||
name = "account_utils"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"directory",
|
||||
"eth2_keystore",
|
||||
"eth2_wallet",
|
||||
"filesystem",
|
||||
@@ -2575,9 +2574,7 @@ dependencies = [
|
||||
"mediatype",
|
||||
"multiaddr",
|
||||
"pretty_reqwest_error",
|
||||
"procfs",
|
||||
"proto_array",
|
||||
"psutil",
|
||||
"reqwest",
|
||||
"reqwest-eventsource",
|
||||
"sensitive_url",
|
||||
@@ -3711,6 +3708,16 @@ dependencies = [
|
||||
"http 0.2.12",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "health_metrics"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"eth2",
|
||||
"metrics",
|
||||
"procfs",
|
||||
"psutil",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "heck"
|
||||
version = "0.4.1"
|
||||
@@ -3952,6 +3959,7 @@ dependencies = [
|
||||
"execution_layer",
|
||||
"futures",
|
||||
"genesis",
|
||||
"health_metrics",
|
||||
"hex",
|
||||
"lighthouse_network",
|
||||
"lighthouse_version",
|
||||
@@ -3987,6 +3995,7 @@ name = "http_metrics"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"beacon_chain",
|
||||
"health_metrics",
|
||||
"lighthouse_network",
|
||||
"lighthouse_version",
|
||||
"logging",
|
||||
@@ -5737,6 +5746,7 @@ name = "monitoring_api"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"eth2",
|
||||
"health_metrics",
|
||||
"lighthouse_version",
|
||||
"metrics",
|
||||
"regex",
|
||||
@@ -9583,7 +9593,6 @@ dependencies = [
|
||||
"bls",
|
||||
"deposit_contract",
|
||||
"derivative",
|
||||
"directory",
|
||||
"eth2_keystore",
|
||||
"filesystem",
|
||||
"hex",
|
||||
@@ -9611,6 +9620,7 @@ dependencies = [
|
||||
"filesystem",
|
||||
"futures",
|
||||
"graffiti_file",
|
||||
"health_metrics",
|
||||
"initialized_validators",
|
||||
"itertools 0.10.5",
|
||||
"lighthouse_validator_store",
|
||||
@@ -9644,6 +9654,7 @@ dependencies = [
|
||||
name = "validator_http_metrics"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"health_metrics",
|
||||
"lighthouse_validator_store",
|
||||
"lighthouse_version",
|
||||
"malloc_utils",
|
||||
@@ -9655,6 +9666,7 @@ dependencies = [
|
||||
"types",
|
||||
"validator_metrics",
|
||||
"validator_services",
|
||||
"validator_store",
|
||||
"warp",
|
||||
"warp_utils",
|
||||
]
|
||||
@@ -9812,7 +9824,6 @@ dependencies = [
|
||||
name = "warp_utils"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"beacon_chain",
|
||||
"bytes",
|
||||
"eth2",
|
||||
"headers",
|
||||
@@ -9821,7 +9832,6 @@ dependencies = [
|
||||
"serde",
|
||||
"serde_array_query",
|
||||
"serde_json",
|
||||
"state_processing",
|
||||
"tokio",
|
||||
"types",
|
||||
"warp",
|
||||
|
||||
Reference in New Issue
Block a user