Skip to main content

FORMAT_VERSION

Constant FORMAT_VERSION 

Source
pub const FORMAT_VERSION: u16 = 2;
Expand description

Current container-format version.

  • v1 (v0.9.0 ..): the tagged-section container as documented above.
  • v2 (v2.0.0 “Timebase” rc.1, ADR 0028): marks the MAJOR-boundary line. The container’s own on-wire layout is unchanged (this field only guards forward-compat – a reader rejects any blob whose format_version exceeds its own FORMAT_VERSION); the real v2.0.0-line rejection happens per-section, via the strict version equality checks each chip’s snapshot module already enforces (see rustynes_cpu::CPU_SNAPSHOT_VERSION’s v3 bump for the concrete example). This bump exists so a .rns file’s header alone signals which release line produced it, without needing to inspect every section.