serayuzgur / crates

crates is an extension aims to help people to manage their dependencies for rust (crates.io & TOML).
https://marketplace.visualstudio.com/items?itemName=serayuzgur.crates
MIT License
238 stars 37 forks source link

latest version for various crates aren't showing up. #218

Closed miketwenty1 closed 7 months ago

miketwenty1 commented 10 months ago

Describe the bug For some crates, the latest version isn't showing up all of a suden. An example here is the bevy crate. Says 0.10.1 is the latests, not sure what happened here.

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot 2023-11-22 at 11 14 55 PM Screenshot 2023-11-22 at 11 17 02 PM

Something interesting, I'm getting confusing information on v0.6.3 seemingly being installed while 0.5.10 showing as (current) 2 years ago?

Screenshot 2023-11-22 at 11 30 45 PM Screenshot 2023-11-22 at 11 30 30 PM

MacOS. crates version: v0.6.3

Additional context Used to work fine.

miketwenty1 commented 10 months ago

I messed with crates settings until things started working, removed cargo index hash and unchecked "Use Local Cargo Index"

I'll leave this open in case there is any advice to be given.

BarbossHack commented 10 months ago

The Use Local Cargo Index option was removed 5 monthes ago in v0.6.0, and Crates switched to sparse index in v0.6.2. Maybe your extension was outdated

My advices would have been :