Crates.io | wrkflw-matrix |
lib.rs | wrkflw-matrix |
version | 0.7.3 |
created_at | 2025-08-09 12:20:49.693333+00 |
updated_at | 2025-08-28 07:31:50.833691+00 |
description | Matrix job parallelization for wrkflw workflow execution engine |
homepage | https://github.com/bahdotsh/wrkflw |
repository | https://github.com/bahdotsh/wrkflw |
max_upload_size | |
id | 1787882 |
size | 14,203 |
Matrix expansion utilities used to compute all job combinations and format labels.
include
, exclude
, max-parallel
, and fail-fast
use wrkflw_matrix::{MatrixConfig, expand_matrix};
use serde_yaml::Value;
use std::collections::HashMap;
let mut cfg = MatrixConfig::default();
cfg.parameters.insert("os".into(), Value::from(vec!["ubuntu", "alpine"])) ;
let combos = expand_matrix(&cfg).expect("expand");
assert!(!combos.is_empty());