profile
viewpoint

Ask questions"web-sys: StatusCodeError: 403"

Describe the bug

  • The same situation of https://github.com/rust-lang/crates.io/issues/2115 ; "VSCode crates extension could use an API that only returns a crate's versions"
    • See also: https://github.com/serayuzgur/crates/pull/77 ; "Use local registry index for fetching versions"

To Reproduce

  1. Add web-sys dependency in the Cargo.toml, then it show ❗️ icon.
  2. Hover on ❗️, then show the error message popup.
[dependencies.web-sys]
features = ['Document', 'Element', 'HtmlElement', 'Node', 'Window', 'Headers', 'Request', 'RequestInit', 'RequestMode', 'Response']
version = "*"

Expected behavior It will be show 👍 icon and popup with version links.

Screenshots image

Desktop (please complete the following information):

  • OS: Windows, Arch(WSL2)
  • Version crate-0.5.2

Additional context

  • crates.useLocalCargoIndex is true.
serayuzgur/crates

Answer questions serayuzgur

Thanks for the issue. It was a bug and will be fixed with the version 0.5.3.

useful!

Related questions

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