🦀Tokio Ships Topcoat, a Batteries-Included Server-Rendered Rust Framework at v0.9
Full-stack Rust without the Node.js baggage
TL;DR
Tokio released Topcoat v0.9, a modular full-stack Rust framework that stays server-rendered and skips Node.js entirely. Reactivity comes from cross-compiled Rust expressions. If you build database-driven web apps, it's worth a weekend look.
Tokio just dropped Topcoat, a batteries-included full-stack Rust framework, and it's now at v0.9 on crates.io under MIT. The pitch is simple: keep everything server-rendered, and add reactivity without writing JavaScript. If you're building run-of-the-mill, browser-based, database-driven apps, this one is aimed squarely at you. The view! macro mixes HTML with Rust control flow, Tailwind works without Node.js, and routing is inferred from your file tree. Tighter integration with the Toasty async ORM means fewer glue layers between your handlers and your database. The interesting trick is the $(...) expression. It's ordinary type-checked Rust, evaluated on the server for the first render and translated to JavaScript so it re-runs instantly in the browser. When you do need the server, mark a component as #[shard] and Topcoat re-renders it whenever its arguments change. The catch? It's a 0.x project with no long-term stability guarantee, so pin your versions.

Key Points
Topcoat is published on crates.io under an MIT licence, and the project has a public GitHub repository tracking the v0.9 release line.
Keep reading — it's free
Enter your email to keep reading — plus the best of AI & tech, daily. Free, forever.
Already a member? Sign in
Comments
Be the first to comment