Repository navigation
Home
A high-performance asynchronous networking library implementing reliable UDP messaging in Rust. The optional blocking feature provides synchronous calls over the same Tokio transport.
Version / 版本:1.4.0 · crates.io · source / 源码 b909c93 · 2026-10-12
| Topic | Guide |
|---|---|
| Quick start | Quick start |
| Blocking calls and shared runtimes | Blocking calls and shared runtimes |
| Public API index | Public API index |
| Five reliability modes | Five reliability modes |
| RakNet wire format and recovery | RakNet wire format and recovery |
| Message lifecycle and limits | Message lifecycle and limits |
| Bytes and explicit batching | Bytes and explicit batching |
| Send policy | Send policy |
| Recovery policy and tail probes | Recovery policy and tail probes |
| Every configuration parameter | Every configuration parameter |
| Concurrency and socket tuning | Concurrency and socket tuning |
| Errors, deadlines and cancellation | Errors, deadlines and cancellation |
| Congestion and deployment boundaries | Congestion and deployment boundaries |
| Benchmark results | Benchmark results |
| Benchmark methodology | Benchmark methodology |
| Benchmark reproduction | Benchmark reproduction |
| Minecraft Bedrock proxy | Minecraft Bedrock proxy |
| Troubleshooting and development | Troubleshooting and development |
| Release history and upgrading | Release history and upgrading |
UDP delivery is made reliable through sequence numbers, ACK/NACK, retries and reordering. The five modes let messages choose delivery semantics. Applications still handle disconnects and provide business acknowledgements.
Payloads must be nonempty and start with 0xfe. Only ReliableOrdered automatically fragments oversized outgoing messages. Encryption, identity authentication, adaptive bandwidth congestion control, Sans-I/O and a Bevy plugin are not supplied. Blocking is a synchronous adapter, not a polling API. See the deployment guide for practical boundaries.
English · 简体中文 · GitHub · crates.io 1.4.0 · Reviewed / 核对:2026-10-12 / b909c93
- Overview
- Quick start
- Blocking calls and shared runtimes
- Public API index
- Five reliability modes
- RakNet wire format and recovery
- Message lifecycle and limits
- Bytes and explicit batching
- Send policy
- Recovery policy and tail probes
- Every configuration parameter
- Concurrency and socket tuning
- Errors, deadlines and cancellation
- Congestion and deployment boundaries
- Benchmark results
- Benchmark methodology
- Benchmark reproduction
- Minecraft Bedrock proxy
- Troubleshooting and development
- Release history and upgrading