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
181 downloads per month
Used in 2 crates
(via lace)
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