mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-29 17:51:35 +00:00
refactor!: Move ConnectionId
and PendingPoint
to libp2p-swarm
(#3346)
Both of these are only needed as part of `libp2p-swarm`. Them residing in `libp2p-core` is a left-over from when `libp2p-core` still contained `Pool`.
This commit is contained in:
@ -47,9 +47,9 @@ mod protocol;
|
||||
|
||||
use handler::Handler;
|
||||
pub use handler::{Config, Failure, Success};
|
||||
use libp2p_core::{connection::ConnectionId, PeerId};
|
||||
use libp2p_core::PeerId;
|
||||
use libp2p_swarm::{
|
||||
behaviour::FromSwarm, NetworkBehaviour, NetworkBehaviourAction, PollParameters,
|
||||
behaviour::FromSwarm, ConnectionId, NetworkBehaviour, NetworkBehaviourAction, PollParameters,
|
||||
};
|
||||
use std::{
|
||||
collections::VecDeque,
|
||||
|
Reference in New Issue
Block a user