Rust Dev

Commands and procedures for compiling, testing, checking, formatting, and building the Rust project. Use when this capability is needed.

tomevault-io Updated

File contents

Rust Development Skill

This skill assists in running common Cargo commands to maintain the quality, correctness, and formatting of the Rust PVM project.

Commands

Building

To compile the application in debug mode:

cargo build

To compile the application in release mode (production ready binary):

cargo build --release

Running Tests

To run all tests (unit and integration tests):

cargo test

To run a specific test:

cargo test <test_name>

Code Formatting

To format the code according to the Rust standards:

cargo fmt

Code Linting

To check code using clippy:

cargo clippy

Source: sagarkarn/PVM — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/sagarkarn--pvm--rust-dev commit 369668100c

Frequently asked questions

npx skillmds@latest add tomevault-io/rust-dev-3