rust-managed
rust-managed copied to clipboard
Interest in adding serde features
Hey all,
I've used managed as inspiration for quite a few projects (here's the latest one) to allow for using slice/stack types (like heapless)/alloc types for things like arrays of bytes and strings in serde+postcard.
This comes up often enough that I've considered making a postcard-managed crate, but wanted to see if this would fit as another set of features that could be supported.
Ideally, it would be nice to have support for [u8] (and friends) as well as str and friends - general [T] items wouldn't work so well for borrowed deserialization, though the heapless/alloc split may still work here (though I don't think managed uses heapless either).
I'm still trying to figure out if this is something that should live with managed, or should just be separate and managed inspired instead, due to slightly different design constraints.
I think this is in scope for managed!