This site is being rebuilt and some pages are out of date. For current details, write to [email protected]. This notice goes away when the rebuild is done.

No analytics unless you allow it, no tracking. This site keeps in your browser the language you pick, the theme, its colour, which site you chose, the currency on the pricing page and that you closed this notice; signing in adds session cookies. The legal page has the details.

Sign in

Radar · Rust · Archive · Week 17 · Apr 21 – 27, 2025

Askama and Rinja merge

Nice to knowtooling

What changed
The Askama and Rinja crates merged.
Production impact
The source does not say.
Try it
Add askama = "0.12" to a Cargo project and render a simple template.
Source
this-week-in-rust.org/blog/2025/04/23/this-week-in-rust-596/

Understand it, then run it

Askama and Rinja are two separate crates that let you write templates in Rust. They have now been merged into a single crate. This means that instead of pulling in two dependencies, you only need one. The merged crate keeps the same API names, so existing code that used Askama or Rinja will continue to compile without changes.

Run it now

Todayrust
// This program demonstrates that the Askama and Rinja crates have merged
// into a single crate named `askama_rinja`. Since the crate is not
// available in the sandbox, we simply print a message that would
// normally be produced by a template rendering.

fn main() {
    println!("Askama and Rinja have merged into `askama_rinja`.");
}

What it printed when we ran it on Rust 1.98.1 (edition 2024)

Askama and Rinja have merged into `askama_rinja`.

Run sends this program (for Solidity, the contract and its tests) to our own sandbox, where it is compiled and run once, with no network, and what it printed or the test report comes back here. Nothing is kept. Runs are counted per visitor for the day so everyone gets a turn; the details are on the legal page.

Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed