cargo-rustdoc
Build the documentation of Rust packages. tldr-pages
On several platforms
Several platforms
Build the documentation of Rust packages. Similar to cargo doc, but you can pass options to rustdoc. See rustdoc --help for all available options.
Pass options to rustdoc
cargo rustdoc -- rustdoc_optionsIdentifyWarn about a documentation lint
cargo rustdoc -- --warn rustdoc::lint_nameIdentifyIgnore a documentation lint
cargo rustdoc -- --allow rustdoc::lint_nameIdentifyDocument the package's library
cargo rustdoc --libIdentifyDocument the specified binary
cargo rustdoc --bin nameIdentifyDocument the specified example
cargo rustdoc --example nameIdentifyDocument the specified integration test
cargo rustdoc --test nameIdentify