Rust Daily Digest — 2026-04-23
Pre-RFC: Streamlining `cargo package` to Exclude Unnecessary Files — Rust Internals
The Rust community is considering a Pre-RFC proposal to optimize the `cargo package` command by excluding non-essential files by default. This proposal aims to reduce package sizes by omitting files like extensive test datasets that do not impact the functionality of the crate. By refining the packaging process, developers can expect faster build times and reduced bandwidth usage, making Rust projects more efficient to distribute and manage.
Proposal for Official Crate Deprecation Mechanism — Rust Internals
A new proposal is being discussed to provide an official way to deprecate Rust crates without yanking them. The current yanking process can be too drastic, removing the crate from the index entirely. The proposed method would allow maintainers to mark a crate as deprecated, providing users with a clear status without affecting existing builds. This change could improve the ecosystem's stability by offering a more nuanced approach to managing crate lifecycle and dependencies.
- Add an implementation for the Default trait for std::ops::ControlFlow [Rust Internals]
- Build Security [Rust Internals]
- Narwhal v0.6.0 – message broker for edge apps, now with channel persistence [Lobsters Rust]
- 【Rust日报】2026-04-20 cargo-aprz 1.0.0 发布 - Rust 依赖质量评估工具 [RustCC (CN)]