Provided by: cargo_0.32.0-1~exp1ubuntu1~14.04.1_amd64 

NAME
cargo-rustdoc - Build a package's documentation, using specified custom flags.
SYNOPSIS
cargo rustdoc [OPTIONS] [--] [<OPTS>...]
DESCRIPTION
The specified target for the current package (or package specified by SPEC if provided) will be document‐
ed with the specified <OPTS>... being passed to the final rustdoc invocation. Dependencies will not be
documented as part of this command. Note that rustdoc will still unconditionally receive arguments such
as -L, --extern, and --crate-type, and the specified <OPTS>... will simply be added to the rustdoc invo‐
cation.
If the --package argument is given, then SPEC is a package id specification which indicates which package
should be documented. If it is not given, then the current package is documented. For more information
on SPEC and its format, see the cargo help pkgid command.
OPTIONS
-h, --help
Print this message.
--open Open the docs in a browser after the operation.
-p SPEC, --package SPEC
Package to document.
-j N, --jobs N
Number of parallel jobs, defaults to # of CPUs.
--lib Build only this package's library.
--bin NAME
Build only the specified binary.
--example NAME
Build only the specified example.
--test NAME
Build only the specified test target.
--bench NAME
Build only the specified benchmark target.
--release
Build artifacts in release mode, with optimizations.
--features FEATURES
Space-separated list of features to also build.
--all-features
Build all available features.
--no-default-features
Do not build the default feature.
--target TRIPLE
Build for the target triple.
--manifest-path PATH
Path to the manifest to document.
-v, --verbose
Use verbose output.
-q, --quiet
No output printed to stdout.
--color WHEN
Coloring: auto, always, never.
SEE ALSO
cargo(1), cargo-doc(1)
COPYRIGHT
This work is dual-licensed under Apache 2.0 and MIT terms. See COPYRIGHT file in the cargo source dis‐
tribution.
The Rust package manager May 2016 CARGO-RUSTDOC(1)