cargo-q

Crates.iocargo-q
lib.rscargo-q
version0.2.0
created_at2025-01-18 05:36:16.745849+00
updated_at2025-03-08 11:37:37.641047+00
descriptionA Cargo subcommand for running multiple Cargo commands sequentially or in parallel.
homepage
repositoryhttps://github.com/guuzaa/cargo-q
max_upload_size
id1521380
size34,877
Jowell Young (guuzaa)

documentation

https://docs.rs/cargo-q

README

cargo-q

A Cargo subcommand for running multiple Cargo commands sequentially or in parallel.

Installation

cargo install cargo-q

Features

  • Run multiple Cargo commands sequentially
  • Commands are separated by spaces
  • Support parallel execution for commands
  • Verbose mode for detailed output

Usage

Run a Single Command

cargo q check

Run Multiple Commands

# Run commands sequentially
cargo q check test      # Runs check, then test

Commands with Arguments

# For commands with arguments
cargo q "test --no-run"   # Run test with --no-run flag
cargo q "test --features feature1"  # Use quotes for complex arguments

Parallel Execution

# Run commands in parallel
cargo q -p check test      # Run both commands in parallel
cargo q --parallel check test   # Same as above

Verbose Output

cargo q -v check test       # Show detailed output
cargo q --verbose check test  # Same as above

License

Licensed under Apache-2.0 license (LICENSE or http://opensource.org/licenses/Apache-2.0)

Commit count: 11

cargo fmt