dep: move metrics to workspace (#4289)

This commit is contained in:
Roman Krasiuk
2023-08-21 12:33:50 +03:00
committed by GitHub
parent 5c88193328
commit 7f9116b747
18 changed files with 18 additions and 17 deletions

View File

@ -124,6 +124,7 @@ strum = "0.25"
rayon = "1.7"
itertools = "0.11"
parking_lot = "0.12"
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
### proc-macros
proc-macro2 = "1.0"

View File

@ -61,7 +61,7 @@ metrics-exporter-prometheus = "0.12.1"
metrics-util = "0.15.0"
metrics-process = "1.0.9"
reth-metrics.workspace = true
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
# test vectors generation
proptest.workspace = true

View File

@ -28,7 +28,7 @@ tracing.workspace = true
# metrics
reth-metrics = { workspace = true, features = ["common"] }
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
# misc
aquamarine = "0.3.0"

View File

@ -27,7 +27,7 @@ futures.workspace = true
# metrics
reth-metrics.workspace = true
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
# misc
tracing.workspace = true

View File

@ -13,7 +13,7 @@ description = "reth metrics utilities"
reth-metrics-derive = { path = "./metrics-derive" }
# metrics
metrics = "0.21.1"
metrics.workspace = true
# async
tokio = { workspace = true, features = ["full"], optional = true }

View File

@ -18,6 +18,6 @@ regex = "1.6.0"
once_cell = "1.17.0"
[dev-dependencies]
metrics = "0.21.1"
metrics.workspace = true
trybuild = "1.0"
serial_test = "0.10"

View File

@ -25,7 +25,7 @@ tokio-util = { workspace = true, features = ["codec"] }
# metrics
reth-metrics.workspace = true
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
# misc
tracing.workspace = true

View File

@ -27,7 +27,7 @@ reth-rlp = { workspace = true, features = [
# metrics
reth-metrics.workspace = true
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
# used for Chain and builders
ethers-core = { workspace = true, default-features = false }

View File

@ -47,7 +47,7 @@ serde_json = { workspace = true, optional = true }
# metrics
reth-metrics = { workspace = true, features = ["common"] }
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
# misc
auto_impl = "1"

View File

@ -28,7 +28,7 @@ futures-util.workspace = true
# metrics
reth-metrics.workspace = true
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
## misc
tracing.workspace = true

View File

@ -26,7 +26,7 @@ futures-util.workspace = true
## metrics
reth-metrics.workspace = true
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
## misc
thiserror.workspace = true

View File

@ -19,7 +19,7 @@ reth-interfaces.workspace = true
# metrics
reth-metrics.workspace = true
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
# misc
tracing.workspace = true

View File

@ -30,7 +30,7 @@ hyper = "0.14"
# metrics
reth-metrics = { workspace = true, features = ["common"] }
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
# misc
strum = { workspace = true, features = ["derive"] }

View File

@ -53,7 +53,7 @@ rayon.workspace = true
# metrics
reth-metrics.workspace = true
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
# misc
bytes.workspace = true

View File

@ -38,7 +38,7 @@ serde.workspace = true
# metrics
reth-metrics.workspace = true
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
# misc
thiserror.workspace = true

View File

@ -32,7 +32,7 @@ modular-bitfield = "0.11.2"
# metrics
reth-metrics.workspace = true
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
# misc
bytes.workspace = true

View File

@ -17,7 +17,7 @@ futures-util.workspace = true
## metrics
reth-metrics.workspace = true
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
## misc
tracing.workspace = true

View File

@ -33,7 +33,7 @@ tokio-stream.workspace = true
# metrics
reth-metrics.workspace = true
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
metrics.workspace = true
# misc
aquamarine = "0.3.0"