use parity_scale_codec::Codec;
pub mod address_cache;
pub mod data;
mod gossip;
#[cfg(test)]
pub mod mock;
pub mod session;
mod substrate;
pub mod tcp;
#[cfg(test)]
pub use gossip::mock::{MockEvent, MockRawNetwork};
pub use gossip::{Network as GossipNetwork, Protocol, Service as GossipService};
use network_clique::{AddressingInformation, NetworkIdentity, PeerId};
pub use substrate::{ProtocolNaming, SubstrateNetwork};
#[allow(unused_imports)]
pub use gossip::Error as GossipError;
pub trait Data: Clone + Codec + Send + Sync + 'static {}
impl<D: Clone + Codec + Send + Sync + 'static> Data for D {}