You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 (likeheapless
)/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 asstr
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 thinkmanaged
usesheapless
either).I'm still trying to figure out if this is something that should live with
managed
, or should just be separate andmanaged
inspired instead, due to slightly different design constraints.The text was updated successfully, but these errors were encountered: