5

When you generate documentation for a Rust crate with Cargo and rustdoc, I don't see any indication in the generated pages which version of the crate it's for. For example, take a look at the log crate's documentation. Is there a way to know which version of the crate a set of docs are for?

Shepmaster
  • 388,571
  • 95
  • 1,107
  • 1,366
Jimmy
  • 35,686
  • 13
  • 80
  • 98

1 Answers1

3

There isn't a straight forward way to do this, but there is an issue about it. You may be able to hack something that uses the "extra html" feature of rustdoc though.

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