deps.rs icon indicating copy to clipboard operation
deps.rs copied to clipboard

dehashed-rs not updating

Open myOmikron opened this issue 2 years ago • 2 comments

Hi guys, my crate dehashed-rs is shown as latest: 0.3.2, but its already at 0.4.0, therefore it is shown as out-of-date in my projects.

If I use the github form, it is correctly shown as 0.4.0.

So mainly two issues:

  • crates.io version isn't up to date
  • receiving a newer version from a project's required crates (https://deps.rs/repo/github/myOmikron/kraken-project for reference) than available from crates.io results in out-of-date, which is a bit misleading

myOmikron avatar Oct 11 '23 11:10 myOmikron

This is likely another effect of #106. The details about that crate are cached and are not being evicted when they should. A fresh deployment shows the right version.

As for the second issue, I guess we could present a different message for these edge cases, although it might not be obvious what to present to the user. A version that is beyond the latest version available could mean one of several things:

  • caching, as demonstrated here;
  • (maybe?) that the repository is using a private registry that happens to hold a more recent version;
  • the version is indeed invalid.

Enet4 avatar Oct 11 '23 12:10 Enet4

As of today, the issue seems to be resolved, should I create a new one regarding the misleading out-of-date?

myOmikron avatar Oct 12 '23 10:10 myOmikron