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 4 · Jan 20 – 26, 2025

This Week in Rust 583 – resvg crate of the week

Nice to knowecosystem

What changed
The crate resvg, an SVG rendering library, was highlighted as the crate of the week.
Production impact
The source does not say.
Try it
Add resvg = "..." to your Cargo.toml and experiment with rendering an SVG.
Source
this-week-in-rust.org/blog/2025/01/22/this-week-in-rust-583/

Understand it, then run it

The “Crate of the Week” feature in *This Week in Rust* simply highlights a Rust library that the community finds useful. This week the library is resvg, a tool that turns SVG files into raster images. No language feature or compiler change is involved—just a recommendation. If you want to try it, add resvg = "0.40" to your Cargo.toml and use it to render an SVG.

Run it now

Todayrust
// This program demonstrates that the crate of the week is `resvg`.
// It does not compile because `resvg` is not part of the standard library
// and would require adding an external dependency in Cargo.toml.
// The code below is a placeholder to illustrate the concept.

fn main() {
    println!("This Week in Rust 583: Crate of the week is `resvg`, an SVG rendering library.");
}

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

This Week in Rust 583: Crate of the week is `resvg`, an SVG rendering library.

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