All checks were successful
CI / Formatting (push) Successful in 45s
Slightly better implementation of peers, still need to create a more generic system for deciding which components to distribute where and then use that for Peers.
17 lines
411 B
Rust
17 lines
411 B
Rust
mod distribution;
|
|
mod heartbeat;
|
|
mod io;
|
|
mod packet;
|
|
mod peer;
|
|
mod plugin;
|
|
mod queues;
|
|
mod socket;
|
|
mod thread;
|
|
|
|
#[allow(unused_imports)]
|
|
pub mod prelude {
|
|
pub use super::distribution::distribution_plugin;
|
|
pub use super::packet::{InboundPacket, OutboundPacket, Packet};
|
|
pub use super::peer::{Peer, PeerID, PeerReceiveTiming, PeerSendTiming, PotentialPeers};
|
|
pub use super::plugin::NetIOPlugin;
|
|
}
|