Docs.rs - build on multiple toolchains

⚓ Rust    📅 2026-06-11    👤 surdeus    👁️ 1      

surdeus

I know there are options to define which targets are built for docs.rs and for multiple targets to be combined into a single documentation.

Is it also possible to have docs.rs build stable & nightly then combine the documentation?

Background: I have a crate which provides a consistent stable interface and leverages experimental features where available. Currently the docs only show the implementation details for the toolchain defined in rust-toolchain.toml (nightly) and are therefore missing the stable alternatives. This makes it look like a chunk of the API surface is nightly-only.

5 posts - 3 participants

Read full topic

🏷️ Rust_feed