1

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?

Shepmaster
  • 388,571
  • 95
  • 1,107
  • 1,366

1 Answers1

3

You cannot:

In the meantime, move it temporarily to [dependencies] to generate the docs or make a new project just for docs.

Shepmaster
  • 388,571
  • 95
  • 1,107
  • 1,366