diff --git a/Cargo.toml b/Cargo.toml index a18a52a0d..2bc3bf236 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/bin/reth/Cargo.toml b/bin/reth/Cargo.toml index 9666b44f2..d09d0b966 100644 --- a/bin/reth/Cargo.toml +++ b/bin/reth/Cargo.toml @@ -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 diff --git a/crates/blockchain-tree/Cargo.toml b/crates/blockchain-tree/Cargo.toml index 12dbd33d2..e18e2562e 100644 --- a/crates/blockchain-tree/Cargo.toml +++ b/crates/blockchain-tree/Cargo.toml @@ -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" diff --git a/crates/consensus/beacon/Cargo.toml b/crates/consensus/beacon/Cargo.toml index 4d44fdc28..09e9ecc5f 100644 --- a/crates/consensus/beacon/Cargo.toml +++ b/crates/consensus/beacon/Cargo.toml @@ -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 diff --git a/crates/metrics/Cargo.toml b/crates/metrics/Cargo.toml index dbc9ab908..8a71b0ef5 100644 --- a/crates/metrics/Cargo.toml +++ b/crates/metrics/Cargo.toml @@ -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 } diff --git a/crates/metrics/metrics-derive/Cargo.toml b/crates/metrics/metrics-derive/Cargo.toml index 4a2b7c2c7..a5e85a842 100644 --- a/crates/metrics/metrics-derive/Cargo.toml +++ b/crates/metrics/metrics-derive/Cargo.toml @@ -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" diff --git a/crates/net/downloaders/Cargo.toml b/crates/net/downloaders/Cargo.toml index aecd48abd..ccc803c8d 100644 --- a/crates/net/downloaders/Cargo.toml +++ b/crates/net/downloaders/Cargo.toml @@ -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 diff --git a/crates/net/eth-wire/Cargo.toml b/crates/net/eth-wire/Cargo.toml index d44ee3b68..84e62184f 100644 --- a/crates/net/eth-wire/Cargo.toml +++ b/crates/net/eth-wire/Cargo.toml @@ -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 } diff --git a/crates/net/network/Cargo.toml b/crates/net/network/Cargo.toml index e46386f29..a4acb5f06 100644 --- a/crates/net/network/Cargo.toml +++ b/crates/net/network/Cargo.toml @@ -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" diff --git a/crates/payload/basic/Cargo.toml b/crates/payload/basic/Cargo.toml index da976dba7..5af296de3 100644 --- a/crates/payload/basic/Cargo.toml +++ b/crates/payload/basic/Cargo.toml @@ -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 diff --git a/crates/payload/builder/Cargo.toml b/crates/payload/builder/Cargo.toml index 1a807017f..7fe3b992f 100644 --- a/crates/payload/builder/Cargo.toml +++ b/crates/payload/builder/Cargo.toml @@ -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 diff --git a/crates/prune/Cargo.toml b/crates/prune/Cargo.toml index 79bc0aa95..be5346d02 100644 --- a/crates/prune/Cargo.toml +++ b/crates/prune/Cargo.toml @@ -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 diff --git a/crates/rpc/rpc-builder/Cargo.toml b/crates/rpc/rpc-builder/Cargo.toml index 072cdbb3a..c9246376a 100644 --- a/crates/rpc/rpc-builder/Cargo.toml +++ b/crates/rpc/rpc-builder/Cargo.toml @@ -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"] } diff --git a/crates/rpc/rpc/Cargo.toml b/crates/rpc/rpc/Cargo.toml index bc3df6431..44760ecd9 100644 --- a/crates/rpc/rpc/Cargo.toml +++ b/crates/rpc/rpc/Cargo.toml @@ -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 diff --git a/crates/stages/Cargo.toml b/crates/stages/Cargo.toml index 98846248b..7ae6f5fca 100644 --- a/crates/stages/Cargo.toml +++ b/crates/stages/Cargo.toml @@ -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 diff --git a/crates/storage/db/Cargo.toml b/crates/storage/db/Cargo.toml index 433a0ccee..f4bcd553a 100644 --- a/crates/storage/db/Cargo.toml +++ b/crates/storage/db/Cargo.toml @@ -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 diff --git a/crates/tasks/Cargo.toml b/crates/tasks/Cargo.toml index fa9f52b33..eaff30d28 100644 --- a/crates/tasks/Cargo.toml +++ b/crates/tasks/Cargo.toml @@ -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 diff --git a/crates/transaction-pool/Cargo.toml b/crates/transaction-pool/Cargo.toml index ecea45a1c..9354ce2d1 100644 --- a/crates/transaction-pool/Cargo.toml +++ b/crates/transaction-pool/Cargo.toml @@ -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"