crates
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 All Dependencies (lazy mode)
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 '
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
oli-obk (First Patron)