carrier_pigeon/
lib.rs

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