Remove the #[doc(hidden)] reexports of sc_network (#5264)

* Remove the #[doc(hidden)] reexports of sc_network

* Fix tests not building
This commit is contained in:
Pierre Krieger
2020-03-20 16:42:00 +01:00
committed by GitHub
parent 62b3e57470
commit 57af4facbd
6 changed files with 71 additions and 87 deletions
-7
View File
@@ -183,13 +183,6 @@ pub use libp2p::{Multiaddr, PeerId};
#[doc(inline)]
pub use libp2p::multiaddr;
// Note: these re-exports shouldn't be part of the public API of the crate and will be removed in
// the future.
#[doc(hidden)]
pub use protocol::message;
#[doc(hidden)]
pub use protocol::message::Status as StatusMessage;
pub use sc_peerset::ReputationChange;
/// Extension trait for `NetworkBehaviour` that also accepts discovering nodes.