mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: move ratelimit type to tokio util (#9007)
This commit is contained in:
@ -14,8 +14,8 @@ workspace = true
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-ethereum-forks.workspace = true
|
||||
reth-net-common.workspace = true
|
||||
reth-network-peers = { workspace = true, features = ["secp256k1"] }
|
||||
reth-tokio-util = { workspace = true, features = ["time"] }
|
||||
|
||||
# ethereum
|
||||
alloy-primitives.workspace = true
|
||||
|
||||
@ -7,7 +7,7 @@ use crate::{
|
||||
tree::{DnsEntry, LinkEntry, TreeRootEntry},
|
||||
};
|
||||
use enr::EnrKeyUnambiguous;
|
||||
use reth_net_common::ratelimit::{Rate, RateLimit};
|
||||
use reth_tokio_util::ratelimit::{Rate, RateLimit};
|
||||
use std::{
|
||||
collections::VecDeque,
|
||||
future::Future,
|
||||
|
||||
Reference in New Issue
Block a user