Awesome Open Source
Awesome Open Source

crates

Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Rating GitHub stars

Become a Patron !

Hello Rust & VSCode lovers,

This is crates, an extension for crates.io dependencies. Aims helping developers to manage dependencies while using Cargo.toml.

Notes

  • It is only helpful if you are using dependencies from crates.io. Dependencies from git or other platforms are not supported.
  • TOML must be valid. If not, crates will not show versions. It will inform you with the status bar and dialog.

Features

crates is very simple. It has just two features.

  • Displays the latest version of the crate next to it
  • Shows all versions (clickable) on the tooltip of the crate hovered.

Aims to be fast and simple.

Update Single Dependency

update

Update All Dependencies (lazy mode)

updateAll

Simple settings

It is so simple that you do not need any configuration, but if you insist...

crates.useLocalCargoIndex: If true, crates will use local cargo repository.

crates.localCargoIndexHash: he hash path for crates.io index. Default value goes to official index. Alternative values would support registry source mirror with source replacement setup.

crates.githubAuthBasic: The <username>:<personal-access-token> or <username>:<password> for accessing Github API with increased access rates 5000 req/h.

crates.errorDecorator: The text to show when a dependency has errors. Default is ❗️❗️❗️.

crates.compatibleDecorator: The text template to show when a dependency is semver compatible. ${version} will be replaced by the latest version info. Default is '✅'

crates.incompatibleDecorator: The text template to show when a dependency is not semver compatible. ${version} will be replaced by the latest version info. Default is '❌ ${version}'

crates.listPreReleases: If true, pre-release versions will be listed in hover and at decoration. The default is false.

Known Issues

  • All glitches will be cleared on save.

Thanks to

@ademozay

@userzimmermann

@RensAlthuis

oli-obk (First Patron)


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
typescript (11,646
rust (4,736
vscode-extension (261
cargo (69
dependencies (61
toml (50
crates (41