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

lace_metadata

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

11 releases (4 breaking)

0.6.0 Feb 7, 2024
0.3.0 Nov 21, 2023
0.1.4 Jul 26, 2023

#682 in Algorithms

Download history 17/week @ 2024-01-22 6/week @ 2024-02-05 4/week @ 2024-02-19 29/week @ 2024-02-26 35/week @ 2024-03-11 37/week @ 2024-04-01

72 downloads per month
Used in 2 crates (via lace)

BUSL-1.1

545KB
14K 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

~32–65MB
~1M SLoC