Cargo Check Skill
Run cargo validation commands across the OneDrop Rust workspace.
Usage
/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
cargo check --all --all-features
clippy (default)
cargo clippy --all --all-targets --all-features -- -D warnings
test
cargo test --all --all-features
all
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>:
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
Converted and distributed by TomeVault — claim your Tome and manage your conversions.