Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Cargo.toml SnippetsNew to Visual Studio Code? Get it now.
Cargo.toml Snippets

Cargo.toml Snippets

Kevin (Kassimo) Qian

|
11,231 installs
| (0) | Free
Snippets for Cargo.toml
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cargo.toml Snippets for VSCode

This extension contains code snippets for Cargo.toml files for Rust projects. It is based on manifest format spec of Cargo.toml.

Supported languages (file extensions)

  • TOML (.toml)

Usage

demo

Snippets

Below is an INCOMPLETE list of supported snippets.

Example Trigger Content
package basic package table
package-full full package table
PKG_* package entry related snippets
dependencies dependency table
dev-dependencies dev dependency table
build-dependencies build dependency table
DEP_* dependency entry related snippets
profile basic profile table
profile-full full profile table
profile.* common profile presets
features features table
patch patch table
TARGET_* target specific tables
workspace basic workspace table
workspace-full full workspace table
replace replace table
example example table array
bin binary table array
lib library table
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft