docs.rs: building fewer targets by default

103 · The Rust Programming Language · April 2, 2026, 11 p.m.
Summary
On May 1, 2026, docs.rs will change its default build behavior to only build documentation for the default target, rather than for a preset list of five targets unless otherwise specified. This change aims to improve build efficiency and resource usage, reflecting a trend towards fewer unnecessary builds. Details are provided on how to specify additional targets in a crate's metadata.