Still incredibly basic and only handles initial distribution and spawning with no relationships or anything.
18 lines
413 B
Rust
18 lines
413 B
Rust
mod distribution;
|
|
mod io;
|
|
mod packet;
|
|
mod peer;
|
|
mod plugin;
|
|
mod queues;
|
|
mod socket;
|
|
mod state;
|
|
mod thread;
|
|
|
|
#[allow(unused_imports)]
|
|
pub mod prelude {
|
|
pub use super::distribution::Networked;
|
|
pub use super::packet::{InboundPacket, OutboundPacket, Packet};
|
|
pub use super::peer::{Peer, PeerReceiveTiming, PeerSendTiming};
|
|
pub use super::plugin::NetIOPlugin;
|
|
pub use super::state::NetworkState;
|
|
}
|