Skip to main content

Module format

Module format 

Source
Expand description

Format detection, parsing and emission.

Both directions cross the IR boundary here and nowhere else: parse yields a Value, emit takes one. The conversions themselves live in crate::value.

Enums§

Format
v1 ships JSON and TOML only. Adding a format is one arm of these matches; removing one is a breaking change.
SourceName
Where a layer came from. Used only for error messages — provenance is never threaded through the merge itself.

Functions§

emit
Converts the merged IR into format and serializes it.
parse
Parses one layer into the merge IR.