Repository navigation
Releases and Upgrading
b23r0 edited this page Oct 12, 2026
·
1 revision
所有可选功能默认关闭,彼此独立且可组合;同一次 Cargo 构建中的依赖 feature 会合并。
| Feature | 起始版本 | 作用 |
|---|---|---|
blocking |
1.3.0 | 基于共享 Tokio runtime 的同步适配器 |
send-policy |
1.1.0 | 显式在途窗口和队列限制;调用 socket setter 才激活 |
recovery-policy |
1.2.0 | 到期唤醒、尾包探测和 ACK 进展设置;默认不探测,编译功能包含文档所述时间修正 |
rust-raknet = { version = "1.4.0", features = ["blocking", "send-policy", "recovery-policy"] }相对 1.3.0,没有改变传输核心和公开 API 行为。新增完整 feature CI 矩阵、格式检查、更广的代理/示例检查、异步与 blocking benchmark 驱动、横向测试断点续跑及更新后的双语 benchmark。原始 send 的 73.1 µs 稀疏 RTT 是复测结果,不是协议优化收益。
加入可选同步接口、共享运行时和超时方法;异步用户不必启用,也不必修改调用方式。
加入可选恢复调度和满足条件的尾包数据报探测。启用 recovery-policy 后逐连接设置;见恢复语义与历史测量。
在隔离副本中更新依赖要求和兼容锁文件,保留已有 feature 与显式策略设置。仅编译 feature 不会应用发送预设。验证对端版本、MTU、通道和消息格式,再在同负载下比较吞吐、稀疏/持续负载延迟和 RSS。声明的最低 Rust 版本仍为 1.85,使用 edition 2024。
1.4.0 不需要迁移报文格式。恢复设置和 blocking 都是本地选项,不在网络上协商。库版本、RakNet 协议版本(10/11)和应用/游戏版本属于不同概念。
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