However, it is yanked. I understand this means that I can't use it, but I'd still like to know more about it.
For example, the author, homepage URL, the repository URL, etc. But none of this data is shown on the crates.io webpage.
Thanks, that's good to know, and I'm now subscribed to that bug.
But what if there was only ever 1 version, and that version got yanked? In that case, I still want to be able to see all available metadata about the crate (even if it's yanked)
You may want to try cargo info (get it with cargo install cargo-info). It will reveal some extra details.
$ cargo info gitlab
Crate: gitlab
Version: 0.1.0
Description: GitLab API in Rust
Downloads: 302
Homepage:
Documentation:
Repository: https://gitlab.com/imp/gitlab-rs
Last updated: 7 months ago
Version history:
VERSION RELEASED DOWNLOADS
0.1.0 7 months ago 302 (yanked)
Now full disclosure - I happen to be the author of both cargo-info and gitlab crates.
I have started gitlab half a year ago as an experiment, but never progressed too much towards having anything usable. Feel free to either contribute or fork.