profile
viewpoint

Ask questionsUnable to manage extensions with large repos

Crates with large repos seem to be problematic for the extension.

To Reproduce

  1. Add this to your Cargo.toml:
[dependencies.web-sys]
version = "0.3"
features = [
  "console",
]
  1. Notice the red exclamation point that appears next to the version with an error message:
web-sys: StatusCodeError: 403 - "{"message":"This API returns blobs up to 1 MB in size. The requested blob is too large to fetch via the API, but you can use the Git Data API to request blobs up to 100 MB in size.","errors":[{"resource":"Blob","field":"data","code":"too_large"}],"documentation_url":"https://docs.github.com/rest/reference/repos#get-repository-content\"}"

Expected behavior The extension would be able to manage this dependency.

Screenshots image

Desktop (please complete the following information):

  • OS: macOS 10.15.5
  • Version: vscode 1.48.1, crates extension version 0.5.2
serayuzgur/crates

Answer questions serayuzgur

please use version 0.5.3 with localRepository enabled.

useful!

Related questions

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