1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
//! # carrier-pigeon
//! A rusty networking library for games.
//!
//! A simple networking library that handles all the serialization, sending, receiving, and
//! deserialization. This way you can worry about what to send, and pigeon will worry about how
//! to send it.
//!
//! ### Add carrier-pigeon to your `Cargo.toml`:
//!
//! `carrier-pigeon = "0.3.0"`
//!
//! ## Examples
//!
//! Complete examples are provided in the
//! [`examples/` directory](https://github.com/MitchellMarinoDev/carrier-pigeon/blob/main/examples)
//! on the GitHub repo.
pub mod net;
pub mod tcp;
pub mod udp;
mod client;
mod header;
mod message_table;
mod server;
mod time;
pub use client::{Client, OptionPendingClient, PendingClient};
pub use header::TcpHeader;
pub use message_table::{MsgRegError, MsgTable, MsgTableParts, SortedMsgTable};
pub use net::{CId, MId, Transport};
pub use server::Server;