FICHA · MANJARO

cargo-docs-rs

Imitate the documentation build that docs.rs would do

  • tool
  • CLI
  • DOCUMENTATION
  • BUILD-SYSTEM
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 27, 2026 description in en

Description

Builds Rust documentation locally in a way that imitates docs.rs. It helps crate authors catch documentation build failures before publishing or before relying on hosted docs.

Use it before releasing Rust crates with public documentation. Matching docs.rs locally reduces surprises, but final behavior can still depend on the hosted build environment.

How to run

cargo docs-rs

Commands: cargo docs-rs

Permissions

Permissions not analysed for this source yet.