mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: bump metrics (#4265)
This commit is contained in:
@ -14,7 +14,6 @@ reth-interfaces.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
reth-db = { path = "../../storage/db" }
|
||||
reth-tasks.workspace = true
|
||||
reth-metrics.workspace = true
|
||||
|
||||
# async
|
||||
futures.workspace = true
|
||||
@ -24,6 +23,10 @@ tokio = { workspace = true, features = ["sync"] }
|
||||
tokio-stream.workspace = true
|
||||
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
|
||||
|
||||
# misc
|
||||
tracing.workspace = true
|
||||
rayon.workspace = true
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
use reth_interfaces::p2p::error::DownloadError;
|
||||
use reth_metrics::{
|
||||
metrics::{self, Counter, Gauge},
|
||||
metrics::{Counter, Gauge},
|
||||
Metrics,
|
||||
};
|
||||
|
||||
|
||||
@ -24,7 +24,10 @@ reth-rlp = { workspace = true, features = [
|
||||
"ethereum-types",
|
||||
"smol_str",
|
||||
] }
|
||||
|
||||
# metrics
|
||||
reth-metrics.workspace = true
|
||||
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
|
||||
|
||||
# used for Chain and builders
|
||||
ethers-core = { workspace = true, default-features = false }
|
||||
|
||||
@ -9,7 +9,7 @@ use crate::{
|
||||
use futures::{Sink, SinkExt, StreamExt};
|
||||
use pin_project::pin_project;
|
||||
use reth_codecs::derive_arbitrary;
|
||||
use reth_metrics::metrics::{self, counter};
|
||||
use reth_metrics::metrics::counter;
|
||||
use reth_primitives::{
|
||||
bytes::{Buf, BufMut, Bytes, BytesMut},
|
||||
hex,
|
||||
|
||||
@ -31,7 +31,6 @@ reth-rlp-derive = { path = "../../rlp/rlp-derive" }
|
||||
reth-tasks.workspace = true
|
||||
reth-transaction-pool.workspace = true
|
||||
reth-provider.workspace = true
|
||||
reth-metrics = { workspace = true, features = ["common"] }
|
||||
reth-rpc-types.workspace = true
|
||||
|
||||
# async/futures
|
||||
@ -46,6 +45,10 @@ serde = { workspace = true, optional = true }
|
||||
humantime-serde = { version = "1.1", optional = true }
|
||||
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
|
||||
|
||||
# misc
|
||||
auto_impl = "1"
|
||||
aquamarine = "0.3.0"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
use reth_eth_wire::DisconnectReason;
|
||||
use reth_metrics::{
|
||||
metrics::{self, Counter, Gauge},
|
||||
metrics::{Counter, Gauge},
|
||||
Metrics,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user