Closed Holzhaus closed 2 years ago
I think this is ready to review now. @Swiftb0y Do you want to take a look?
Thanks for reviewing!
General issue still: We use the
binrw
attribute everywhere, but writing obviously produces garbage databases (even though thats not obvious from the code). So I think we should either make that clear at compile time (by using#[binread]
on the read-only datastructures) or if that requires too many changes, document that writing won't produce valid databases!
Agreed. Fixed in https://github.com/Holzhaus/rekordcrate/pull/64/commits/076efb03f6b0ba3669b191f68b7c9942954e3810.
Fixes #45. Based on #66 and #67.