I am working on a small project that uses a build.rs file intensively. It seems that cargo doc --all
generates the documentation for the [dependencies]
but not for the [build-dependencies]
in Cargo.toml.
How can I generate the offline documentation for the build-dependency crates?
You cannot:
In the meantime, move it temporarily to
[dependencies]
to generate the docs or make a new project just for docs.