diff --git a/Cargo.toml b/Cargo.toml index a18a52a0d32b..2bc3bf236cfe 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 9666b44f295b..d09d0b9666ce 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 12dbd33d2136..e18e2562eeaf 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 4d44fdc28b57..09e9ecc5f013 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 dbc9ab908109..8a71b0ef5183 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 4a2b7c2c7b52..a5e85a8422b3 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 aecd48abdaa6..ccc803c8d469 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 d44ee3b68608..84e62184f882 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 e46386f29741..a4acb5f06589 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 da976dba7090..5af296de3e3c 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 1a807017fa22..7fe3b992feaa 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 79bc0aa95469..be5346d025a5 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 072cdbb3a29f..c9246376a539 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 bc3df6431c4d..44760ecd91a3 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 98846248b375..7ae6f5fca871 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 433a0ccee9a9..f4bcd553aa78 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 fa9f52b33ed7..eaff30d28cff 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 ecea45a1c419..9354ce2d1a86 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"