primitives: rm more alloy_primitives reexports (#11255)

This commit is contained in:
Thomas Coratger
2024-09-29 18:48:54 +02:00
committed by GitHub
parent 55bf29e6d2
commit ea1d04aa75
70 changed files with 150 additions and 128 deletions

View File

@ -21,3 +21,4 @@ tokio-stream.workspace = true
eyre.workspace = true
rand.workspace = true
tracing.workspace = true
alloy-primitives.workspace = true

View File

@ -1,7 +1,7 @@
use super::protocol::proto::{CustomRlpxProtoMessage, CustomRlpxProtoMessageKind};
use alloy_primitives::bytes::BytesMut;
use futures::{Stream, StreamExt};
use reth_eth_wire::multiplex::ProtocolConnection;
use reth_primitives::BytesMut;
use std::{
pin::Pin,
task::{ready, Context, Poll},

View File

@ -1,8 +1,8 @@
//! Simple RLPx Ping Pong protocol that also support sending messages,
//! following [RLPx specs](https://github.com/ethereum/devp2p/blob/master/rlpx.md)
use alloy_primitives::bytes::{Buf, BufMut, BytesMut};
use reth_eth_wire::{protocol::Protocol, Capability};
use reth_primitives::{Buf, BufMut, BytesMut};
#[repr(u8)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]