Crate rustdoc_json
source · [−]Expand description
Utilities for working with rustdoc JSON.
Currently only build()
and build_quietly()
. Please see their docs
for more info.
Enums
Represent all errors that can occur when using build()
and
build_quietly
.
Functions
Generate rustdoc JSON for a library crate. Returns the path to the freshly
built rustdoc JSON file. toolchain
is the toolchain, e.g. "+nightly"
.
manifest_path
is the relative or absolute path to Cargo.toml
.
Same as build()
but also passes --quiet
to cargo
.