Ask questionsIncorrectly running on non-dependencies section of Cargo.toml

Describe the bug The cargo winrt command uses the fact that package.metadata in Cargo.toml files can contain arbitrary data to encode which Windows Runtime packages should be downloaded from NuGet as dependencies for Rust based WinRT project. Unfortunately, the crates extension incorrectly views these as Cargo dependencies and tries to fetch information on them.

To Reproduce Steps to reproduce the behavior: 1.) Add the following to Cargo.toml:

"Microsoft.Windows.SDK.Contracts" = "10.0.19041.1"

2.) Observe the ! that appears next to the dependency.

Expected behavior These dependencies should simply be ignored by the extension.

Screenshots caputre1


  • OS: Windows 10
  • Version 0.5.2

Answer questions serayuzgur

@rylev Thanks for the report. It will be fixed wit the version 0.5.3


Related questions

No questions were found.
Github User Rank List