Something wrong with local cargo doc documents

Cargo should probably add a thin dependencies mode for Rustdoc. That is, build docs for crates in the current workspace and crates they depend on directly but not transitively.

If it wanted to be real clever, add in transitive public dependencies of direct dependencies. The “important” part is to reduce the number of crates documented by removing the ones you’re unlikely to actually be looking for.

3 Likes