Reputation: 37441
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.
Upvotes: 6
Views: 1428
Reputation: 90752
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
.
Upvotes: 7