FORMAT

Constant FORMAT 

Source
pub const FORMAT: u32 = 2;
Expand description

The on-disk format version.

Bump when Repr’s shape changes in a way that makes old bytes decode differently. A store stamped with a different version is refused rather than read: replay is the only description of a program’s history, and a misread log is worse than an unreadable one.

  • 1 — JSON text (Phase 1, Phase 2).
  • 2 — postcard over Repr.