docs.rs will change its default documentation build behavior on May 1, 2026, building only the default target instead of five targets by default.
- •Breaking change: new releases and rebuilds will build documentation for only x86_64-unknown-linux-gnu (default target) unless explicitly configured
- •Default target can be overridden using the default-target setting in package.metadata.docs.rs configuration in Cargo.toml
- •Multiple targets can be built explicitly by defining a targets list in the docs.rs metadata section
- •Change reduces build times and conserves resources on the docs.rs infrastructure
- •Affects all new releases and rebuilds of existing releases starting May 1, 2026
This summary was automatically generated by AI based on the original article and may not be fully accurate.