| Crates.io | packetio |
| lib.rs | packetio |
| version | 0.2.1 |
| created_at | 2025-07-08 20:15:12.205658+00 |
| updated_at | 2025-08-26 00:40:40.615977+00 |
| description | A simple Rust crate for sending and receiving length-prefixed binary packets over any stream. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1743472 |
| size | 19,278 |
A simple Rust crate for sending and receiving length-prefixed binary packets over any stream
that implements Read or Write. Uses bincode for serialization.
It lets you send structs and rust types over the network!
Read or Write)(TcpStream, BufReader, etc.)PacketSender and PacketReceiver traits for easy usebincode for compact, efficient binary encodingAdd this to your Cargo.toml:
[dependencies]
packetio = "0.1"
bincode = "2"