#![warn(missing_docs)]
mod alias;
mod config;
mod error;
mod init;
mod network;
mod peer;
mod service;
mod swarm;
#[cfg(test)]
mod tests;
pub use self::peer::info::{PeerInfo, PeerRelation};
#[doc(inline)]
pub use libp2p_core::{
multiaddr::{Multiaddr, Protocol},
PeerId,
};
#[cfg(feature = "full")]
#[doc(inline)]
pub use libp2p::core::identity::{ed25519::Keypair, PublicKey};
#[cfg(feature = "full")]
pub use crate::{
config::{NetworkConfig, NetworkConfigBuilder},
error::Error,
init::{integrated, standalone},
network::host::integrated::NetworkHost,
network::origin::Origin,
service::{
command::{Command, NetworkCommandSender},
event::{Event, NetworkEventReceiver},
host::integrated::ServiceHost,
},
swarm::protocols::iota_gossip::{GossipReceiver, GossipSender},
};