This Week in Rust 648 - 深度总结
TWiR 648 · 2026年4月22日
公告
- Rust 1.95.0 发布!
- crates.io 启动 Svelte 前端测试
- RustConf 2026 日程与注册已上线
项目动态
- Slint 1.16 发布
- lean-decimal:比
rust_decimal快 2-6 倍的高性能十进制库 - Oxanus v1.0 发布
- flodl 0.5.2:在 Rust 中使用 HuggingFace
- tinyboot v0.4.0 发布
- Danube 推出 Key-Shared 订阅功能
- mtp-mount:基于 FUSE 的 MTP 挂载工具
- wrkflw v0.8.0 发布
观察与思考
- Cryptographic Right Answers: Post Quantum and Rust Edition
- The Edge of Safe Rust——TokioConf 演讲
- What Happens When You Build an Inode-Style Vector in Rust
- Ownership & Borrowing vs Reference Counting
实践教程
- 全栈 Twitter 克隆(Axum + Leptos)
- Bevy 第12章:网络编程
- 使用 Apple Hypervisor 构建最小 VMM
- 使用
cachedcrate 实现缓存
编译器进展
- 不再对 DelayedLints 做哈希处理
- 重构 FnDecl/FnSig
- 对 ref-to-future 的
.await建议移除& - 对闭包中 unsized place 建议返回引用
标准库进展
abort进入 coreVec的Index/Deref常量化integer_cast_extras推进ErrorKind迁移至core::io- libtest 中
--exact使用二分查找
Cargo 进展
- build-dir layout v2 稳定化 FCP
build.warnings稳定化 FCP
Clippy
- 新增
useless_borrows_in_formattinglint - 扩展
zst_offset覆盖 NonNull - 修复
collapsible_match运行时行为变更 - 修复
expect_fun_call字符串切片问题
本周 Crate
- farben
RFC 动态
- 新 RFC:AI 生成作品贡献政策
- 新 RFC:Bounded Trait Casting
- 新 RFC:异构 try 块
Rust Analyzer
- 从 rustc 移植调用表达式类型检查
- 补全时尊重
#[deprecated] - 支持宏调用中的变量提取
- 使用 ProofTreeVisitor
本周引言
“在 Rust 中,我们提前支付组合的代价。”
— Nadrieril
This Week in Rust 648 - 深度总结
https://1uciuszzz.github.io/2026/04/22/this-week-in-rust-648-summary/


