Radar · Rust · Archive · Week 18 · Apr 27 – May 3, 2026
This Week in Rust 649
Nice to knowtooling
- What changed
- The Rust community highlighted the crate
dithras the crate of the week and listed several new tooling releases. - Production impact
- The source does not say.
- Try it
- Add
dithrto a small project and experiment with its dithering API. - Source
- this-week-in-rust.org/blog/2026/04/29/this-week-in-rust-649/
Understand it, then run it
This week’s highlight is the crate dithr. It is a library that performs dithering and halftoning on image buffers. Dithering is a way to simulate more colors than a display can show by mixing pixels. The announcement simply names the crate; no new language feature is introduced.
Run it now
// This program demonstrates that the crate `dithr` is available on crates.io
// and can be used to dither a simple 2x2 image buffer.
// It does not compile until the crate is added to Cargo.toml, which is
// not possible in this sandbox, so we just print a placeholder message.
fn main() {
println!("dithr crate is highlighted this week, but cannot be used here.");
}
What it printed when we ran it on Rust 1.98.1 (edition 2024)
dithr crate is highlighted this week, but cannot be used here.
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