TWiR with AI summaries

This Week in Rust 632
Project/Tooling Updates
reqwest v0.13.0 defaults to `rustls` for TLS, streamlines certificate configuration, and makes `query`/`form` optional to remove the default `serde` dependency.
Rama 0.3.0-alpha.4 is the final alpha before 0.3.0, introducing a major architectural shift to an extension-based design, significant CLI tooling enhancements, new networking protocols, and a host of internal performance and feature improvements.
Ratatui 0.30.0 modularizes crates, adds full `no_std` support, introduces a new `run()` API, and brings major widget/layout improvements with several breaking changes.
Observations/Thoughts
Presents the typing rules for a simply typed lambda calculus with booleans and function types.
Serde's zero-copy deserialization with `&'a str` or `&'a [u8]` can lead to unexpected runtime errors when input data requires decoding, solvable with `String` or `Cow<'a, str>` and `#[serde(borrow)]`.
This post details improvements to the Rust garbage collector `dumpster`, specifically enabling `dyn` compatibility for `Trace` and introducing `new_cyclic` for easier creation of self-referential `Gc` values.
Netstack.FM is a podcast by rama creators plabayo, offering deep dives and expert interviews on Rust networking, protocols, and the wider ecosystem.
Rust Walkthroughs
Refactored FFI boundary types by wrapping `FFISafe` within `WithOffset` and adding `#[repr(C)]` to `WithOffset` to make it directly FFI-compatible.
A guide to building comprehensive, dependency-free Rust errors using only standard library features like `#[track_caller]` and `map_err` for detailed context and location.
A "hello world" tutorial for building an application with the new Hotaru Web Framework in Rust.
Miscellaneous
This 2025 year-in-review podcast reflects on Rust's widespread production adoption, ecosystem advancements, and community achievements across diverse industries, highlighting its growing maturity and future outlook.
A subtle bug in `octocrab`'s retry mechanism was traced to a shallow `Clone` of an `Arc<RwLock<BoxBody>>`, causing request bodies to be consumed and subsequently empty on retries.