#metadata #state #save #path

lace_metadata

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

9 releases

new 0.3.0 Nov 21, 2023
0.2.1 Oct 16, 2023
0.2.0 Sep 28, 2023
0.1.5 Aug 28, 2023
0.1.0 Apr 21, 2023

#632 in Filesystem

Download history 13/week @ 2023-08-03 15/week @ 2023-08-10 9/week @ 2023-08-17 36/week @ 2023-08-24 6/week @ 2023-08-31 63/week @ 2023-09-07 13/week @ 2023-09-14 10/week @ 2023-09-21 48/week @ 2023-09-28 65/week @ 2023-10-05 57/week @ 2023-10-12 28/week @ 2023-10-19 40/week @ 2023-10-26 8/week @ 2023-11-02 67/week @ 2023-11-09 64/week @ 2023-11-16

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

SSPL-1.0

540KB
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–43MB
~747K SLoC