mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-30 02:01:35 +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:
@ -26,7 +26,8 @@ use futures::{
|
||||
Future,
|
||||
};
|
||||
use futures::{SinkExt, StreamExt};
|
||||
use libp2p_core::{InboundUpgrade, OutboundUpgrade, PeerId, UpgradeInfo};
|
||||
use libp2p_core::{InboundUpgrade, OutboundUpgrade, UpgradeInfo};
|
||||
use libp2p_identity::PeerId;
|
||||
use std::{io, iter, pin::Pin};
|
||||
|
||||
const MAX_MESSAGE_LEN_BYTES: usize = 2048;
|
||||
|
Reference in New Issue
Block a user