mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-27 08:41:36 +00:00
feat: introduce libp2p-identity
crate
This patch combines the `libp2p_core::identity` and `libp2p_core::peer_id` modules into a new crate: `libp2p-identity`. Resolves https://github.com/libp2p/rust-libp2p/issues/3349. Pull-Request: #3350.
This commit is contained in:
@ -28,7 +28,8 @@ use crate::upgrade::SendWrapper;
|
||||
use crate::ConnectionHandlerUpgrErr;
|
||||
use either::Either;
|
||||
use futures::future;
|
||||
use libp2p_core::{ConnectedPoint, PeerId, UpgradeError};
|
||||
use libp2p_core::{ConnectedPoint, UpgradeError};
|
||||
use libp2p_identity::PeerId;
|
||||
use std::task::{Context, Poll};
|
||||
|
||||
/// Auxiliary type to allow implementing [`IntoConnectionHandler`]. As [`IntoConnectionHandler`] is
|
||||
|
Reference in New Issue
Block a user