pub fn scan(root: &Path, os_list: &[&str]) -> Result<Vec<MatrixEntry>>Expand description
Scans the workspace and returns the full feature × OS matrix.
Features named default are excluded — Cargo enables them automatically.
The matrix always starts with the default (no explicit features) entry,
followed by every non-empty power-set combination in a stable order.
Each feature combination is repeated once per OS in os_list.
§Errors
Returns an error if the workspace root cannot be located or any
Cargo.toml cannot be read or parsed.