pub fn parse_catalog(input: &str) -> Result<Vec<DcsTemplate>, TemplateError>Expand description
Parses a TOML catalog (the [[template]] array-of-tables format used by
templates/builtin.toml and the user catalog file the bhtune CLI auto-loads) and validates
every template it contains. Pure – takes an in-memory string and does no I/O itself;
all file reading is the caller’s job (the runtime configuration loader and CLI commands),
keeping this crate’s “no I/O” rule intact.