cargo-docset icon indicating copy to clipboard operation
cargo-docset copied to clipboard

Download docs.rs documentation for arbitrary crates

Open mlthlschr opened this issue 2 years ago • 1 comments

Not a feature request but an offer for PR.

The other day I stumbled across your project. It works quite well for locally available crates, however I wondered if it could also provide the docs for any other crate without needing to clone them.

As it does not yet, I hacked around your solution a bit and created a solution using the data downloadable at docs.rs. You can find it at https://git.sr.ht/~mlthlschr/cargo-docset/tree . Let me know if you are interested in pulling this functionality into your project. Then I can clean up the code a bit, move the repo to github and create a PR.

mlthlschr avatar Sep 17 '23 16:09 mlthlschr

Thanks for the submission, yeah this sounds like a really useful feature, I'll try and take a look at your work in the next couple weeks hopefully

Robzz avatar Sep 24 '23 15:09 Robzz