Tech riderRev. 20 Sept 2026
- 1Runs onLinux, Mac, Windows
- 2CostsNot stated by the maker
- 3Source inputsRust crate roots, Markdown files
- 4API reference generationYes
- 5CI/CD integrationYes
- 6Output formatsHTML, CSS, JavaScript
- 7Programming languagesRust
6 lines stated Written from the maker's own pages: doc.rust-lang.org

Overview
rustdoc is ranked #11 of 38 in documentation generators on Specifiction. It runs on Linux, macOS, Windows.
Compared on documentation generators
- Free plan
- Yesdoc.rust-lang.org
- Source inputs
- Rust crate roots, Markdown filesdoc.rust-lang.org
- API reference generation
- Yesdoc.rust-lang.org
- CI/CD integration
- Yesdoc.rust-lang.org
- Output formats
- HTML, CSS, JavaScriptdoc.rust-lang.org
- Programming languages
- Rustdoc.rust-lang.org
Facts
- Purpose
- rustdoc generates documentation for Rust projects from a crate root or Markdown file, producing HTML, CSS, and JavaScript.doc.rust-lang.org · 4 Oct 2026
- Included tool
- The standard Rust distribution ships with rustdoc.doc.rust-lang.org · 4 Oct 2026
- Cargo integration
- Cargo integrates with rustdoc through `cargo doc` to generate documentation for a project.doc.rust-lang.org · 4 Oct 2026
- Default visibility
- By default, rustdoc generates documentation for public functions.doc.rust-lang.org · 4 Oct 2026
- Markdown input
- rustdoc can generate HTML from standalone Markdown files.doc.rust-lang.org · 4 Oct 2026
- Markdown limitation
- Cargo does not currently understand standalone Markdown files.doc.rust-lang.org · 4 Oct 2026
- Integration output
- Cargo places generated documentation under the project's `target` directory and can include documentation for dependencies.doc.rust-lang.org · 4 Oct 2026
- Online documentation
- The Rust tools page says Cargo's doc builder is available locally through `cargo doc` and online for public crates through docs.rs.rust-lang.org · 4 Oct 2026
- Installation
- Rust's installation page recommends rustup and provides installation instructions for Windows, macOS, Linux, and other Unix-like systems.rust-lang.org · 4 Oct 2026
- Security reporting
- The Rust Project asks that security bugs in the Rust distribution be reported to [email protected] and says reports are acknowledged within 24 hours, with a more detailed response within 48 hours.rust-lang.org · 4 Oct 2026
- Security support scope
- The Rust Security Response Working Group handles vulnerability reports for software maintained and published by the Rust Project; third-party crates are outside its stated scope.rust-lang.org · 4 Oct 2026
- Supported updates
- The Rust Project says it provides support and security updates for the most recent stable release and the latest beta and nightly releases.rust-lang.org · 4 Oct 2026
- Project governance
- The Rust Project says it is composed of many teams and contributors, and that major decisions start with a Request for Comments process open to everyone.rust-lang.org · 4 Oct 2026
- Distribution
- The standard Rust distribution includes rustdoc.doc.rust-lang.org · 5 Oct 2026
- Visibility default
- By default, rustdoc documents publicly reachable items; `--document-private-items` includes non-public items except those marked `#[doc(hidden)]`.doc.rust-lang.org · 5 Oct 2026
- Documentation tests
- rustdoc can execute code examples in documentation as tests to check that they compile and run.doc.rust-lang.org · 5 Oct 2026
- Test controls
- Documentation code blocks support attributes including `ignore`, `should_panic`, `no_run`, and `compile_fail`.doc.rust-lang.org · 5 Oct 2026
- Output customization
- Command-line options can select an output directory, add themes, and include extra CSS or HTML in generated documentation.doc.rust-lang.org · 5 Oct 2026
- Cross compilation
- The `--target` option generates documentation for a target triple different from the host triple, subject to the usual cross-compilation caveats.doc.rust-lang.org · 5 Oct 2026
- Install platforms
- The Rust installation page provides installation instructions for Windows, macOS, and Linux or other Unix-like systems.rust-lang.org · 5 Oct 2026
- Windows requirement
- On Windows, Rust additionally requires the MSVC build tools for Visual Studio 2013 or later.rust-lang.org · 5 Oct 2026
- Support
- The Rust site directs users to the documentation, Rust Forge contributor documentation, and the Users Forum for help.rust-lang.org · 5 Oct 2026
- Maker identity
- The Rust website says it is maintained by the Rust Team.rust-lang.org · 5 Oct 2026
Best rustdoc alternatives
See all 20 All accessCh 01 Scalar Free planAPILinux from $150/mo7.6 All accessCh 02 Asciidoctor Free planAPIBrowser Free to start7.5 All accessCh 03 Sphinx Free planAPILinux Free to start7.5 All accessCh 04 Kotlin/JS Free planLinuxMac Free to start7.4 All accessCh 05 Doxygen Free planLinuxMac Free to start7.1 All accessCh 06 mdBook Free planLinuxMac Free to start7.1
Where it ranks on Specifiction
Is rustdoc yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- doc.rust-lang.org/rustdoc/· checked 4 Oct 2026
- rust-lang.org/tools/· checked 4 Oct 2026
- rust-lang.org/tools/install/· checked 4 Oct 2026
- rust-lang.org/policies/security/· checked 4 Oct 2026
- rust-lang.org/governance/· checked 4 Oct 2026
- doc.rust-lang.org/rustdoc/command-line-arguments.html· checked 5 Oct 2026
- doc.rust-lang.org/rustdoc/write-documentation/documentati· checked 5 Oct 2026
- rust-lang.org/tools/install/· checked 5 Oct 2026




