Radar · Rust · Archive · Week 32 · Aug 3 – 9, 2026
Update dependency mdbook to v0.5.4
Nice to knowtooling
- What changed
- The mdBook dependency was bumped to 0.5.4, adding zoomable images and fixing several layout bugs.
- Production impact
- The source does not say.
- Try it
- Run
mdbook serveon a book that uses images and observe the zoom feature. - Source
- github.com/rust-lang/rfcs/pull/3989
Understand it, then run it
The mdBook tool was updated from version 0.5.3 to 0.5.4. The new release adds a feature that lets you zoom in on images that appear in your book. It also fixes a handful of layout problems, such as images that were displayed incorrectly when they were inside links. These changes are part of the dependency bump and do not require any code changes on your side.
Run it now
// This program demonstrates that the current Rust toolchain (1.98.1 edition 2024)
// does not include the zoomable images feature of mdBook, because that feature
// is part of the mdBook crate, not the standard library. We simply print a
// message to show the change would affect mdBook output, not Rust code.
fn main() {
println!("Zoomable images are a feature of mdBook, not of Rust itself.");
}
What it printed when we ran it on Rust 1.98.1 (edition 2024)
Zoomable images are a feature of mdBook, not of Rust itself.
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