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.
Asked
Active
Viewed 971 times
1 Answers
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
-
It didn't occur to me to check there! Thank you – Daenyth Jul 06 '15 at 12:50
-
2I think `cargo doc --open` should open the doc of current project (along side with all dependencies crate) – Hoang Tran May 10 '17 at 18:06