Cargo Check Skill
Run cargo validation commands across the OneDrop Rust workspace.
Usage
code
/cargo-check # Run clippy on all crates (default) /cargo-check check # Run cargo check on all crates /cargo-check test # Run tests on all crates /cargo-check all # Run check, clippy, and test /cargo-check clippy onedrop-engine # Run clippy on specific crate
Commands by Mode
check
bash
cargo check --all --all-features
clippy (default)
bash
cargo clippy --all --all-targets --all-features -- -D warnings
test
bash
cargo test --all --all-features
all
bash
cargo check --all --all-features && \ cargo clippy --all --all-targets --all-features -- -D warnings && \ cargo test --all --all-features
Specific Crate
When a crate name is provided, replace --all with -p <crate>:
bash
cargo clippy -p onedrop-engine --all-targets -- -D warnings
Notes
- •The workspace has 8 crates: onedrop-hlsl, onedrop-codegen, onedrop-parser, onedrop-eval, onedrop-renderer, onedrop-engine, onedrop-cli, onedrop-gui
- •Some crates have optional features (e.g.,
audio-inputfor onedrop-engine) - •Tests include integration tests in
tests/directories