Crates.io | lace_metadata |
lib.rs | lace_metadata |
version | 0.7.0 |
source | src |
created_at | 2023-04-21 04:48:37.714378 |
updated_at | 2024-06-25 19:48:18.651663 |
description | Archive of the metadata (savefile) formats for Lace. In charge of versioning and conversion. |
homepage | https://www.lace.dev/ |
repository | https://github.com/promised-ai/lace |
max_upload_size | |
id | 845021 |
size | 160,178 |
Archive of the metadata (savefile) formats for lace. In charge of versioning and conversion.
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
.