mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(metrics): restructure crates (#2850)
This commit is contained in:
@ -17,6 +17,7 @@ reth-codecs = { path = "../../storage/codecs" }
|
||||
reth-primitives = { path = "../../primitives" }
|
||||
reth-ecies = { path = "../ecies" }
|
||||
reth-rlp = { path = "../../rlp", features = ["alloc", "derive", "std", "ethereum-types", "smol_str"] }
|
||||
reth-metrics = { path = "../../metrics" }
|
||||
|
||||
# used for Chain and builders
|
||||
ethers-core = { version = "2.0.4", default-features = false}
|
||||
@ -29,7 +30,6 @@ pin-project = "1.0"
|
||||
tracing = { workspace = true }
|
||||
snap = "1.0.5"
|
||||
smol_str = "0.1"
|
||||
metrics = "0.20.1"
|
||||
async-trait = "0.1"
|
||||
|
||||
# arbitrary utils
|
||||
|
||||
@ -7,9 +7,9 @@ use crate::{
|
||||
DisconnectReason, HelloMessage,
|
||||
};
|
||||
use futures::{Sink, SinkExt, StreamExt};
|
||||
use metrics::counter;
|
||||
use pin_project::pin_project;
|
||||
use reth_codecs::derive_arbitrary;
|
||||
use reth_metrics::metrics::{self, counter};
|
||||
use reth_primitives::{
|
||||
bytes::{Buf, BufMut, Bytes, BytesMut},
|
||||
hex,
|
||||
|
||||
Reference in New Issue
Block a user