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 36 forks source link

extension crashes on dependencies with capital letters #202

Closed OmarTawfik closed 1 year ago

OmarTawfik commented 1 year ago

Sample Cargo.toml:

[workspace.package]
version = "0.1.0"

[workspace.dependencies]
Inflector = { version = "0.11.4" }

This crashes the extension with the following error message (repeatedly). I'm guessing it is because of the capital letter in Inflector, which is perfectly legal in Cargo: https://crates.io/crates/Inflector

image

Thanks for working on this awesome extension!

serayuzgur commented 1 year ago

It is fixed. Please restart vscode to clear local cache.

OmarTawfik commented 1 year ago

Thank you!