Move the Swarm in its own module (#681)

This commit is contained in:
Pierre Krieger
2018-11-27 11:22:55 +01:00
committed by GitHub
parent 95ebee5841
commit 45114aef46
10 changed files with 16 additions and 15 deletions

View File

@ -210,16 +210,17 @@ pub mod either;
pub mod muxing;
pub mod nodes;
pub mod protocols_handler;
pub mod swarm;
pub mod topology;
pub mod transport;
pub mod upgrade;
pub use self::multiaddr::Multiaddr;
pub use self::muxing::StreamMuxer;
pub use self::nodes::Swarm;
pub use self::peer_id::PeerId;
pub use self::protocols_handler::{ProtocolsHandler, ProtocolsHandlerEvent};
pub use self::public_key::PublicKey;
pub use self::swarm::Swarm;
pub use self::transport::Transport;
pub use self::upgrade::{InboundUpgrade, OutboundUpgrade, UpgradeInfo, UpgradeError};