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:
Add the above mentioned snippet to the Cargo.toml file
Describe the bug It is possible to use the
package
field to rename a crate. Here is an example: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:
Cargo.toml
fileExpected behavior The displayed version should have been 0.15.1
Screenshots
Desktop (please complete the following information):