đŚ Rust Powered Astro 7
Todayâs issue: From OCaml to Rust, an Enum of Structs, and How To Optimize #[sqlx::test] Rebuild Times
Hello Rustaceans!
In this issue, we cover the latest Astro 7 release, spotlight a project, and highlight 10 awesome links of the week.
Hereâs issue 125.
MAIN NEWS
Rust Powered Astro 7
While the rest of us were quietly observing Juneteenth and giving our keyboards a well-deserved break, the Astro core team said ânahâ and released Astro 7.0 anyway.
Itâs complete rewrite with a new Rust compiler, Rust-powered Markdown/MDX, and build times up to 60% faster.
The new .astro compiler replaces the previous Go implementation. It drops the old silent HTML âcorrectionsâ that often surprised users and created hard-to-debug issues. Instead, it adopts strict JSX-style rules and proper whitespace handling, unclosed tags and malformed attributes now error clearly, and whitespace between inline elements is collapsed by default.
Built with oxc for parsing and Lightning CSS for scoping, it ships as native binaries with a WASM fallback. On the Astro docs site, it has a modest ~6% improvement in build times, as .astro compilation is rarely the main bottleneck.
The standout win is Sätteri, the new default Markdown/MDX processor. It replaces the slower JavaScript-based stack with fast Rust. On large Markdown-heavy sites like the Astro and Cloudflare docs, it shaved over a minute off build times. Common extensions are now built-in and enabled by default. Its plugin API is far more efficient: plugins declare the node types they care about instead of traversing the entire AST on every pass.
The legacy unified pipeline remains available for full backward compatibility via @astrojs/markdown-remark. Eliminating those silent HTML fixes is a major quality-of-life win, those âhelpfulâ behaviors always surface as painful bugs in production. The native + WASM shipping pattern has become the gold standard in modern JS tooling (see Rolldown, Lightning CSS).
After sneaking into the React Compiler just a few weeks ago, Rust really said: One adoption wasnât enough⌠Iâm claiming Astro next. Baller moves, Rustlang!
PROJECT SPOTLIGHT đĄ
envio
Envio is a secure command-line tool for managing environment variables.
Instead of scattering secrets across .env files or hoping your shell history stays private, it lets you bundle project-specific variables into secure, self-contained profiles you can spin up on demand.
What makes it stand out:
Strong encryption by default with smart key management and a fresh rotate-key command so youâre never stuck with stale secrets.
Shell session loading that fires up a fresh terminal with the exact profile variables injected.
Profile hygiene features like automatic keyring cleanup on deletion and UUID-backed metadata that keep things tidy even as your setup grows.
And itâs open-source at https://github.com/humblepenguinn/envio.
AWESOME LINKS OF THE WEEK đ
Rust Foundation welcomes new Silver members Integer 32, Convex, Renesas, and Peeriot, plus Associate member Processing Foundation, and they launched Rust Commercial Network (RCN) to unite companies using Rust, ease adoption, solve production issues, and channel feedback/funding to the project. The Vision Doc group published the many journeys of learning Rust, and v1.96.1 pre-release testing is out.
Deanna, Diretnan, and Matt from Cloudflare wrote how they discovered a subtle race condition in the hyper Rust HTTP library that truncated large image responses. Fixed in 4 lines after 6 weeks of debugging.
In other news, LiteLLM is migrating to Rust. The reward? Sub-1ms overhead, 15x throughput, 11x less memory, and the satisfying feeling of deleting performance complaints.
Corentinâs âA data race that doesnât compileâ shows how Rustâs type system, using HLists and Sculptor, makes the compiler reject parallel Redux reducers with overlapping state slices preventing data races at compile time.
Slint v1.17 got released and it adds drag-and-drop, system tray icons, tooltips, and two-way model bindings, advancing its Rust-based desktop UI toolkit.
Shiv wrote about an enum of structs in Rust for variant-specific fields, with Default and From impls for cleaner, concise construction.
The Unglamorous Side of Rust Web Development argues how Rust offers safety/performance but faces async debugging issue, fragmented ecosystem, slow compiles, complex errors/macros, and schema management, batteries-included frameworks aim to help.
Mathias interviewed ClickHouse engineers Alexey and Austin about integrating Rust into their massive C++ codebase, discussing ecosystem, compliance, build challenges, and potential rewrites. [video]
Flow migrated from OCaml to Rust, achieving up to 2x faster type-checking on large codebases. The best part? One engineer pulled it off in ~8 months without code freeze.
Jakub explained how to optimize #[sqlx::test] rebuild times: the macro bloats compilation by inlining all migrations per test. Use a shared migrator reference to significantly speed up large test suites.
Bonus:
The 2026 Stack Overflow Developer Survey is out. Can Rust claim its spot as the most loved language for the 11th year in a row? Take the survey here.
CodeCrafters: Become a Better Rust Engineer
CodeCrafters created amazing Rust courses that push your skills beyond the basics.
Youâll have fun building real-world projects from scratch, including Git, Docker, Redis, Kafka, SQLite, Grep, BitTorrent, HTTP Server, an Interpreter, and DNS.
The courses are self-paced, so you can learn at your own speed.
Join for free and get 40% off when you upgrade. [affiliate]
X | BlueSky | Mastodon | GitHub | LinkedIn | Buy us coffee | hello@rustbytes.com
This issue arrived a bit late. We sincerely apologize and hope you will still consider it.
See you next week!
John & Elley.


