Radar · Rust · Archive · Week 5 · Jan 26 – Feb 1, 2026
Update dependency mdbook to v0.5.2
Nice to knowtooling
- What changed
- The mdbook crate was updated to patch version 0.5.2, which includes several bug fixes such as correcting repeated error messages in
mdbook serveand fixing sidebar scroll position. - Production impact
- The source does not say.
- Try it
- Run
mdbook serveon a project that previously showed the repeated error to confirm the fix. - Source
- github.com/rust-lang/rfcs/pull/3915
Understand it, then run it
The change updates the mdbook dependency from version 0.5.1 to 0.5.2. mdbook is a tool that builds books from Markdown files. The update fixes a few bugs: it stops printing the same error message twice when the HTML configuration is wrong, it corrects how the sidebar scrolls when a heading navigation is used, and it improves the color of rustdoc error messages. No new Rust language feature is involved; it is simply a newer version of an external crate.
Run it now
// This program simply demonstrates that the mdbook crate has been updated
// to version 0.5.2. It does not compile because mdbook is an external
// dependency not included in the standard library. The code below is
// illustrative only.
fn main() {
println!("mdbook updated to 0.5.2 – bug fixes applied.");
}
What it printed when we ran it on Rust 1.98.1 (edition 2024)
mdbook updated to 0.5.2 – bug fixes applied.
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