cargo-matrix-plus 0.1.0

Run a curated matrix of cargo commands (targets/features) from a YAML config
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use clap::Parser;

/// `cargo matrix`: run a curated matrix of cargo commands (targets/features) from a YAML config.
#[derive(Parser, Debug)]
#[command(name = "cargo-matrix", bin_name = "cargo-matrix", version, about)]
struct Cli {
    #[command(flatten)]
    args: cargo_matrix::MatrixArgs,
}

fn main() {
    let cli = Cli::parse();
    if let Err(e) = cargo_matrix::run(cli.args) {
        eprintln!("Error: {e}");
        std::process::exit(1);
    }
}