6

I'd like to view the rust docs for a library that my program depends on. How can I pull these down? I found a question with the answer for the standard library but I'm looking specifically for crates.io dependencies.

Community
  • 1
  • 1
Daenyth
  • 35,856
  • 13
  • 85
  • 124

1 Answers1

7

Cargo does that automatically. For example, if I have hyper as a dependency, cargo doc produces docs for it starting at target/doc/hyper/index.html.

Chris Morgan
  • 86,207
  • 24
  • 208
  • 215