Update the PeerId import paths (#217)

This commit is contained in:
Pierre Krieger
2018-05-24 18:00:47 +02:00
committed by GitHub
parent c1cd10c034
commit 7d6ad230ea
5 changed files with 4 additions and 7 deletions

View File

@ -44,9 +44,8 @@ pub extern crate libp2p_websocket as websocket;
pub mod simple;
pub use self::core::{Transport, ConnectionUpgrade, swarm};
pub use self::core::{Transport, ConnectionUpgrade, PeerId, swarm};
pub use self::multiaddr::Multiaddr;
pub use self::peerstore::PeerId;
pub use self::simple::SimpleProtocol;
/// Implementation of `Transport` that supports the most common protocols.