Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interest in adding serde features #19

Open
jamesmunns opened this issue Jun 17, 2023 · 1 comment
Open

Interest in adding serde features #19

jamesmunns opened this issue Jun 17, 2023 · 1 comment

Comments

@jamesmunns
Copy link

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.

@whitequark
Copy link
Contributor

I think this is in scope for managed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants