Skip to main content

Module forward_compat

Module forward_compat 

Source
Expand description

Forward-compat unknown-field walking for citum check.

Tolerant style option/section structs capture unknown keys into a unknown_fields map at parse time (see docs/specs/FORWARD_COMPATIBILITY.md). This module walks a parsed Style and reports every populated capture, so CLI surfaces such as citum check --strict can emit them as warnings or errors.

Structs§

UnknownFieldPath
A single populated unknown_fields capture located in a parsed Style.

Functions§

collect_unknown_field_paths
Walk a parsed Style and collect every populated unknown_fields capture (top-level, options, nested option structs, nested citation specs).