Ask questionsIncorrectly running on non-dependencies section of Cargo.toml
Describe the bug
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:
[package.metadata.winrt.dependencies] "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.
Answer questions serayuzgur
@rylev Thanks for the report. It will be fixed wit the version 0.5.3
Related questionsNo questions were found.