As noted in https://github.com/jamesmunns/postcard/issues/63, the current handling of chars is pretty meh, and there are likely MUCH better ways, namely "just put utf8 on the wire it's already a varint" or encoding the char as a varint(u32), instead of a &[u8].
Note: postcard 2.0 is not planned any time soon. This issue is just to remind me to revisit this if there ever is a need/want for other breaking changes.
As noted in https://github.com/jamesmunns/postcard/issues/63, the current handling of
char
s is pretty meh, and there are likely MUCH better ways, namely "just put utf8 on the wire it's already a varint" or encoding the char as avarint(u32)
, instead of a&[u8]
.