Expand description
Utilities for working with rustdoc JSON.
§Building
Use rustdoc_json::Builder
to build rustdoc JSON. Like this:
let json_path = rustdoc_json::Builder::default()
.toolchain("nightly")
.manifest_path("Cargo.toml")
.build()
.unwrap();
println!("Built and wrote rustdoc JSON to {:?}", &json_path);
A compilable example can be found here
Structs§
- Builds rustdoc JSON. There are many build options. Refer to the docs to learn about them all. See top-level docs for an example on how to use this builder.
Enums§
- Represents all errors that can occur when using
Builder::build()
. - Color configuration for the output of
cargo rustdoc
. - The part of the package to document