Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Cargo ScriptsNew to Visual Studio Code? Get it now.
Cargo Scripts

Cargo Scripts

taiyuuki

|
241 installs
| (1) | Free
Run scripts from Cargo.toml
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cargo Scripts

Marketplace Version

Cargo Scripts is a Visual Studio Code extension which allows you to run scripts in the sidebar according to the Cargo.toml.

Just like the scripts in NPM's package.json.

Usage

Adding a [package.metadata.scripts] section to the Cargo.toml.

The file name should be case sensitive, cannot be cargo.toml or CARGO.toml.

[package.metadata.scripts]
run = "cargo run"
check = "cargo check"
build = "cargo build"
release = "cargo build --release"

License

MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft