profile
viewpoint

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:

[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.

Screenshots caputre1

Desktop:

  • OS: Windows 10
  • Version 0.5.2
serayuzgur/crates

Answer questions serayuzgur

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

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List