#lace #metadata #versioning #format-conversion #archive #charge #savefile

lace_metadata

Archive of the metadata (savefile) formats for Lace. In charge of versioning and conversion.

12 releases (5 breaking)

0.7.0 Jun 25, 2024
0.6.0 Feb 7, 2024
0.5.0 Jan 23, 2024
0.3.0 Nov 21, 2023
0.1.4 Jul 26, 2023

#1043 in Parser implementations


Used in 2 crates (via lace)

BUSL-1.1

575KB
15K SLoC

lace_metadata

Archive of the metadata (savefile) formats for lace. In charge of versioning and conversion.

Dev

The current version of the meta stays in latest.rs. If a metadata change happens, everything in latest.rs goes to a version file, v<x>.rs. For example if the first version of the metadata changes due to a change in the State metadata, everything in latest.rs will go into v1.rs. latest.rs will contain only metadata items that are different.

Implement MetadataVersion for everything. To make things easier, each file should have a const METADATA_VERSION: u32.

Dependencies

~34–63MB
~1M SLoC