mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove reth primitives [tokio] and [tokio-stream] dependencies (#5111)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
committed by
GitHub
parent
9dd270e4e8
commit
33df4e5766
@ -21,6 +21,7 @@ reth-payload-builder.workspace = true
|
||||
reth-prune = { path = "../../prune" }
|
||||
reth-snapshot = { path = "../../snapshot" }
|
||||
reth-rpc-types-compat.workspace = true
|
||||
reth-tokio-util.workspace = true
|
||||
# async
|
||||
tokio = { workspace = true, features = ["sync"] }
|
||||
tokio-stream.workspace = true
|
||||
|
||||
@ -22,8 +22,8 @@ use reth_interfaces::{
|
||||
};
|
||||
use reth_payload_builder::{PayloadBuilderAttributes, PayloadBuilderHandle};
|
||||
use reth_primitives::{
|
||||
constants::EPOCH_SLOTS, listener::EventListeners, stage::StageId, BlockNumHash, BlockNumber,
|
||||
ChainSpec, Head, Header, SealedBlock, SealedHeader, B256, U256,
|
||||
constants::EPOCH_SLOTS, stage::StageId, BlockNumHash, BlockNumber, ChainSpec, Head, Header,
|
||||
SealedBlock, SealedHeader, B256, U256,
|
||||
};
|
||||
use reth_provider::{
|
||||
BlockIdReader, BlockReader, BlockSource, CanonChainTracker, ChainSpecProvider, ProviderError,
|
||||
@ -36,6 +36,7 @@ use reth_rpc_types::engine::{
|
||||
use reth_rpc_types_compat::engine::payload::{try_into_block, validate_block_hash};
|
||||
use reth_stages::{ControlFlow, Pipeline, PipelineError};
|
||||
use reth_tasks::TaskSpawner;
|
||||
use reth_tokio_util::EventListeners;
|
||||
use std::{
|
||||
pin::Pin,
|
||||
sync::Arc,
|
||||
|
||||
Reference in New Issue
Block a user