I had a very quick look only. From that quick look it wasn't clear to me what the id is really about. is it an internal thing (like a monotonically increasing sequence number) or something the user specifies (it seems so from the README). Some enums/structs use u64 values, which seem to map to those IDs. Perhaps it would make sense to define a type alias/wrapper type to make it clearer that those are IDs.
Other than that it looks like a clean storage system.
I had a very quick look only. From that quick look it wasn't clear to me what the
id
is really about. is it an internal thing (like a monotonically increasing sequence number) or something the user specifies (it seems so from the README). Some enums/structs useu64
values, which seem to map to those IDs. Perhaps it would make sense to define a type alias/wrapper type to make it clearer that those are IDs.Other than that it looks like a clean storage system.