martme / crates

crates is an extension aims to help people to manage their dependencies for rust (crates.io & TOML).

Home Page:https://marketplace.visualstudio.com/items?itemName=serayuzgur.crates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

crates is an extension aims to help people to manage their dependencies for rust (crates.io & TOML).

https://marketplace.visualstudio.com/items?itemName=serayuzgur.crates

License:MIT License


Languages

Language:TypeScript 96.1%Language:JavaScript 3.9%