mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Misc. dependency cleanup (#6810)
* 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> # Conflicts: # Cargo.toml
This commit is contained in:
21
Cargo.lock
generated
21
Cargo.lock
generated
@@ -43,7 +43,6 @@ dependencies = [
|
||||
name = "account_utils"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"directory",
|
||||
"eth2_keystore",
|
||||
"eth2_wallet",
|
||||
"filesystem",
|
||||
@@ -2572,9 +2571,7 @@ dependencies = [
|
||||
"lighthouse_network",
|
||||
"mediatype",
|
||||
"pretty_reqwest_error",
|
||||
"procfs",
|
||||
"proto_array",
|
||||
"psutil",
|
||||
"reqwest",
|
||||
"reqwest-eventsource",
|
||||
"sensitive_url",
|
||||
@@ -3710,6 +3707,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"
|
||||
@@ -3951,6 +3958,7 @@ dependencies = [
|
||||
"execution_layer",
|
||||
"futures",
|
||||
"genesis",
|
||||
"health_metrics",
|
||||
"hex",
|
||||
"lighthouse_network",
|
||||
"lighthouse_version",
|
||||
@@ -3986,6 +3994,7 @@ name = "http_metrics"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"beacon_chain",
|
||||
"health_metrics",
|
||||
"lighthouse_network",
|
||||
"lighthouse_version",
|
||||
"logging",
|
||||
@@ -5716,6 +5725,7 @@ name = "monitoring_api"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"eth2",
|
||||
"health_metrics",
|
||||
"lighthouse_version",
|
||||
"metrics",
|
||||
"regex",
|
||||
@@ -9561,7 +9571,6 @@ dependencies = [
|
||||
"bls",
|
||||
"deposit_contract",
|
||||
"derivative",
|
||||
"directory",
|
||||
"eth2_keystore",
|
||||
"filesystem",
|
||||
"hex",
|
||||
@@ -9589,6 +9598,7 @@ dependencies = [
|
||||
"filesystem",
|
||||
"futures",
|
||||
"graffiti_file",
|
||||
"health_metrics",
|
||||
"initialized_validators",
|
||||
"itertools 0.10.5",
|
||||
"lighthouse_version",
|
||||
@@ -9621,6 +9631,7 @@ dependencies = [
|
||||
name = "validator_http_metrics"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"health_metrics",
|
||||
"lighthouse_version",
|
||||
"malloc_utils",
|
||||
"metrics",
|
||||
@@ -9799,7 +9810,6 @@ dependencies = [
|
||||
name = "warp_utils"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"beacon_chain",
|
||||
"bytes",
|
||||
"eth2",
|
||||
"headers",
|
||||
@@ -9808,7 +9818,6 @@ dependencies = [
|
||||
"serde",
|
||||
"serde_array_query",
|
||||
"serde_json",
|
||||
"state_processing",
|
||||
"tokio",
|
||||
"types",
|
||||
"warp",
|
||||
|
||||
Reference in New Issue
Block a user