pub fn to_catalog_toml(templates: Vec<DcsTemplate>) -> Result<String, Error>Expand description
Serializes templates as a TOML catalog in the exact [[template]] array-of-tables
shape parse_catalog reads back – the inverse operation. Used by bhtune-cli’s
template export --format toml (a single template exports as a one-entry catalog) so
the contribution loop is export -> annotate -> PR with no hand-transcription step. Pure,
like parse_catalog: writing the result to a file is the caller’s job.