Skip to content
crates is an extension aims to help people to manage their dependencies for rust (crates.io & TOML).
TypeScript
Branch: master
Clone or download
Latest commit 704c893 Nov 19, 2019

README.md

crates

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

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. 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 tooltip of the crate hovered.

Aims to be fast and simple.

Update Single Dependency

update

Update All Dependencies (lazy mode)

updateAll

Simple settings

pref

Extension Settings

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

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

crates.upToDateDecorator: The text to show when dependency is up to date. Default is 👍.

crates.latestDecorator: The text to show when dependency is not up to date. Default is Latest: ${version}.

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

Known Issues

  • All glitches will be cleared on save.

Thanks to

@ademozay

@userzimmermann

@RensAlthuis

oli-obk (First Patron)

You can’t perform that action at this time.