I'm considering using serde in rusticl, however my use case is not to parse arbitrary data, but always structs with no custom data allowed. In short: the struct defines the data layout.
And we have some helpers in mesa dealing with reading/writing data to a blob.
So I'm wondering if a custom serde serialize/deserializer is what I want, or if I want something more special/focused as serde seems to be too generic for my use case here.
@karolherbst@matt
Depending on the exact constraints & whether or not you're tied to existing data formats, this almost sounds like a use case for something more like bytemuck's Pod types or rkyv?
@fasterthanlime
I actually use this in my home-manager setup!
But I have absolutely zero idea how I did it. Whenever I set it up on a new system I run some random flake update commands with some random protocols and at some point it starts working?