mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-29 09:41:34 +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:
@ -147,14 +147,15 @@ pub mod bandwidth;
|
||||
pub mod tutorials;
|
||||
|
||||
pub use self::core::{
|
||||
identity,
|
||||
transport::TransportError,
|
||||
upgrade::{InboundUpgrade, InboundUpgradeExt, OutboundUpgrade, OutboundUpgradeExt},
|
||||
PeerId, Transport,
|
||||
Transport,
|
||||
};
|
||||
pub use self::multiaddr::{multiaddr as build_multiaddr, Multiaddr};
|
||||
pub use self::swarm::Swarm;
|
||||
pub use self::transport_ext::TransportExt;
|
||||
pub use libp2p_identity as identity;
|
||||
pub use libp2p_identity::PeerId;
|
||||
|
||||
/// Builds a `Transport` based on TCP/IP that supports the most commonly-used features of libp2p:
|
||||
///
|
||||
|
Reference in New Issue
Block a user