Move protocols_handler to the root (#643)

This commit is contained in:
Pierre Krieger
2018-11-15 18:39:20 +01:00
committed by GitHub
parent ded89b4be3
commit 1c9091655b
15 changed files with 17 additions and 15 deletions

View File

@ -209,6 +209,7 @@ mod tests;
pub mod either;
pub mod muxing;
pub mod nodes;
pub mod protocols_handler;
pub mod topology;
pub mod transport;
pub mod upgrade;
@ -216,6 +217,7 @@ pub mod upgrade;
pub use self::multiaddr::Multiaddr;
pub use self::muxing::StreamMuxer;
pub use self::peer_id::PeerId;
pub use self::protocols_handler::{ProtocolsHandler, ProtocolsHandlerEvent};
pub use self::public_key::PublicKey;
pub use self::transport::Transport;
pub use self::upgrade::{InboundUpgrade, OutboundUpgrade, UpgradeInfo, UpgradeError};