crates icon indicating copy to clipboard operation
crates copied to clipboard

Display alternative version

Open Roms1383 opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. I think it would be cool that it displays the alternative versions too.

For example, when hovering actix-web it currently displays all stable releases, which is fine and preferable for all users,

e.g. with actix-web Screen Shot 2565-02-26 at 13 51 18

but oftentimes one have to go look into crates.io for alternate versions. e.g. with actix-web exhaustive list of versions on crates.io. which applies to many users as well.

Describe the solution you'd like It would be cool to have a way to display them all, for example:

  • in a different color (to differentiate between stable and others),
  • by holding some key on the keyboard (default display remains unchanged)

Describe alternatives you've considered Checking on crates.io involves a lot of back-and-forth between IDE and browser, so I thought it could make for a nice quality-of-life improvement.

Additional context Thanks for this plugin too!

Roms1383 avatar Feb 26 '22 07:02 Roms1383

@Roms1383 I think it sounds like a good feature, if I understand you correctly. Are you asking for an option to display additional entries that are not currently showing up? For example, release candidates, beta versions, etc?

If so, I think I could implement this feature. I took a quick look at the link you supplied and it would be pretty straightforward to pull version info from there to populate the list.

Edit: I need to take a look at this repo to see exactly how/why they're doing things the way they are. It's possible that using that API supplied by crates.io would cause rate-limiting issues. If it's feasible, though, I'll do what I can to put a PR together.

damien-white avatar May 12 '22 04:05 damien-white