Hello Rust & VSCode lovers,
This is crates. crates is an extension for crates.io dependencies. This extension aims helping developers to manage dependencies while using Cargo.toml.
Important: It is only helpful if you are using dependencies from crates.io. Dependencies from git or other platforms are not supported.
crates is very simple. It has two features and does the job.
- 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.
No settings for now. It is so simple that you do not need any configuration.
-
TOML must be valid. If not crates will not work properly.
-
For target dependencies
Supported:
[target.'cfg(target_os = "macos")'.dependencies] objc = "0.2" cocoa = "0.15.0" core-foundation = "0.6.0" core-graphics = "0.14.0"
Not Supported:
[target.'cfg(target_os = "windows")'.dependencies.winapi] version = "0.3" features = [ "winnt", "winuser", "wingdi", "shellapi", "dwmapi", "processthreadsapi", "libloaderapi", "windowsx", "hidusage", "combaseapi", "objbase", "unknwnbase", ]