TWiR with AI summaries

This Week in Rust 636
Official
Crates.io gains a security advisories tab, expands Trusted Publishing to GitLab with an enforcement option, displays source lines of code, and adds publication time to the crate index.
Rust 1.93.0 updates musl (improving DNS and requiring libc 0.2.146+), enables `cfg` on individual `asm!` lines, allows global allocators to use thread-local storage, and stabilizes `MaybeUninit` methods and unchecked integer operations.
Project/Tooling Updates
Vetis is a tiny, fast, and minimalist Rust HTTP server offering full control, modern HTTP (1/2/3) support, and runtime flexibility for performance-critical applications by avoiding framework bloat.
This new release adds several AI-powered subcommands, integrates Google OCR and Gemini image generation, supports new models like GPT-5.1 and Claude Opus 4.5, and improves execution time display.
Nio is a new async runtime offering a flexible "thread-per-core" model with efficient `!Send` pinned tasks and `!Send` I/O, alongside conventional `Send` task spawning.
r3bl_tui v0.7.7 introduces a Linux-native DirectToAnsi backend, VT100 in-memory terminal emulation, a PTY multiplexer, and enhanced developer tooling for faster builds and robust async TUI development.
`r3bl-cmdr v0.0.25 streamlines its async TUI offerings, focusing on the interactive git CLI (giti) and Markdown editor (edi).`
Automate rustdoc comment formatting for markdown tables and inline links with the new `cargo rustdoc-fmt` subcommand from `r3bl-build-infra`.
Observations/Thoughts
WhatsApp replaced C++ with a Rust-based "Kaleidoscope" media consistency library, deployed to billions of devices globally for enhanced memory safety and malware defense.
Explore how Rust complements JavaScript/TypeScript, leveraging its performance and safety for WebAssembly modules and critical backend services within hybrid application architectures.
Explores how Rust's atomic variables necessitate understanding memory ordering beyond mere atomicity to prevent subtle cross-architecture data races in custom synchronization, exemplified by an Arc implementation.
`if let guard` is stabilizing, allowing `let` patterns in `match` guards with corrected drop order and `let chain` support across all Rust editions.
Netstack.FM offers deep dives and expert interviews on networking, protocols, and internet infrastructure, explored through the lens of Rust development.
A podcast episode summarizing the new features, API stabilizations, and tooling improvements across Rust versions 1.88, 1.89, and 1.90.
This podcast episode recaps the new features and changes introduced in Rust versions 1.85 through 1.87, covering topics like async closures, trait upcasting, and Cargo SBOM support.
A Seattle Rust User Group talk by Patrick Gray on leveraging AI with Rust for safe and fast performance, including a project processing raw camera images.
Rust Walkthroughs
A comprehensive guide to publishing your first Rust crate to crates.io, covering project setup, testing, GitHub integration, and post-publication steps.
This article makes a strong case for using nested, per-function error enums in Rust applications rather than a single global enum, optimizing for maintainability and precise error reporting over pattern matching.
This article, Part 4 of a series on building an LLM in Rust, details implementing the entire training infrastructure from scratch, including manual backpropagation for linear layers, GELU, layer normalization, and attention, plus AdamW optimization, gradient clipping, dropout, and checkpointing.
This article demonstrates using the `oracle` crate in Rust to perform DML, DDL, and vector search operations, including schema modification and AI embedding queries, against Oracle db26ai.
A WGSL shader for creating a radial particle glow effect with a bright center and additive blending.
A classic convolutional neural network architecture featuring Conv2d, BatchNorm, ReLU, MaxPool, and Linear layers, likely implemented with Burn.
A Rust proxy for PostgreSQL significantly improved SQL parsing performance by replacing Protobuf with direct C-to-Rust bindings for `libpg_query`, achieving 5x faster parsing and 10x faster deparsing.
A guide to packaging Rust CLIs for PyPI, NPM, and GitHub Actions, leveraging tools like `maturin`, `cargo-zigbuild`, and JS shims for multi-ecosystem distribution.