Open pwfff opened 1 year ago
I gave it a shot :) https://github.com/jamesmunns/postcard/pull/96
This would be a great feature, I'm also in a scenario where I need to apply fixint to every single int type for a particular struct that I'm serializing. It would be so much easier if you could either apply the with
at the struct level, or just at the container level. I hope they get to this, or accept your feature PR :)
Need this exact feature :(
Maybe this is possible already and my weak Rust is the only thing stopping me, but I'm wanting to basically always use the
fixint
option, and thewith
attribute is going to be half my codebase at this point :<If the other side of my service wasn't a completely different language I'd prefer
varint
, but for now I'd rather opt out altogether if possible.