Skip to main content

render_dump

Function render_dump 

Source
pub fn render_dump(
    composed: &[EntryOptions],
    provenance: &[Provenance],
) -> Result<String>
Expand description

Render composed rows as one loadable YAML document, grouped under a # == origin[, patched by …] comment per contiguous run of rows with the same source. ${{ env.NAME }} templates print verbatim, unevaluated.

Entry fields serialize in the crate’s stable order (id, name, disabled, inject, group, config); config leaves are delegated to the serde YAML emitter.