Skip to content

Interest in adding serde features #19

@jamesmunns

Description

@jamesmunns

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions