Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Wrong version reported when renaming crates #169

Open
pentamassiv opened this issue Oct 5, 2022 · 1 comment
Open

Wrong version reported when renaming crates #169

pentamassiv opened this issue Oct 5, 2022 · 1 comment

Comments

@pentamassiv
Copy link

Describe the bug
It is possible to use the package field to rename a crate. Here is an example:

[dependencies.cairo]
package = "cairo-sys-rs"
git = "https://github.com/gtk-rs/gtk-rs-core"
version = "0.16"

The crate's name is cairo-sys-rs and the current version is 0.15.1. However the extensions searches for the version of the crate "cairo" instead. In this case that crate exists and the extension reports the version to be 0.0.4 but that is the most recent version of the wrong crate.

To Reproduce
Steps to reproduce the behavior:

  1. Add the above mentioned snippet to the Cargo.toml file
  2. Observe the version numbers
  3. Compare it with the correct version number on https://crates.io/crates/cairo-sys-rs

Expected behavior
The displayed version should have been 0.15.1

Screenshots
image

Desktop (please complete the following information):

  • OS: Arch Linux
@kands-code
Copy link

I also meet this prolem.

image

but

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants