Adding rustdoc_types library as a dependency

Run this command in a terminal, in your project's directory:

cargo add rustdoc-types

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

rustdoc-types = "0.57.0"

The rustdoc_types library will be automatically available globally. Read the rustdoc_types library documentation.

Back to the crate overview.