| name | rust-dev |
| description | Commands and procedures for compiling, testing, checking, formatting, and building the Rust project. |
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