mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(deps): rm provider dep (#9006)
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -6776,6 +6776,7 @@ dependencies = [
|
||||
"reth-network-peers",
|
||||
"reth-primitives",
|
||||
"reth-provider",
|
||||
"reth-storage-api",
|
||||
"reth-tasks",
|
||||
"reth-testing-utils",
|
||||
"reth-tracing",
|
||||
|
||||
@ -13,13 +13,13 @@ workspace = true
|
||||
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-primitives.workspace = true
|
||||
reth-network-p2p.workspace = true
|
||||
reth-tasks.workspace = true
|
||||
reth-provider.workspace = true
|
||||
reth-config.workspace = true
|
||||
reth-consensus.workspace = true
|
||||
reth-network-p2p.workspace = true
|
||||
reth-network-peers.workspace = true
|
||||
reth-primitives.workspace = true
|
||||
reth-storage-api.workspace = true
|
||||
reth-tasks.workspace = true
|
||||
|
||||
# optional deps for the test-utils feature
|
||||
reth-db = { workspace = true, optional = true }
|
||||
|
||||
@ -13,7 +13,7 @@ use reth_network_p2p::{
|
||||
error::{DownloadError, DownloadResult},
|
||||
};
|
||||
use reth_primitives::{BlockNumber, SealedHeader};
|
||||
use reth_provider::HeaderProvider;
|
||||
use reth_storage_api::HeaderProvider;
|
||||
use reth_tasks::{TaskSpawner, TokioTaskExecutor};
|
||||
use std::{
|
||||
cmp::Ordering,
|
||||
|
||||
@ -45,7 +45,7 @@ impl TaskDownloader {
|
||||
/// use reth_consensus::Consensus;
|
||||
/// use reth_downloaders::bodies::{bodies::BodiesDownloaderBuilder, task::TaskDownloader};
|
||||
/// use reth_network_p2p::bodies::client::BodiesClient;
|
||||
/// use reth_provider::HeaderProvider;
|
||||
/// use reth_storage_api::HeaderProvider;
|
||||
/// use std::sync::Arc;
|
||||
///
|
||||
/// fn t<B: BodiesClient + 'static, Provider: HeaderProvider + Unpin + 'static>(
|
||||
|
||||
Reference in New Issue
Block a user