Skip to content

Lift the alloc requirement from most of the traits #15

@ivmarkov

Description

@ivmarkov

Currently, a lot of traits do require alloc. However and at a closer inspection, often this requirement is just for convenience features, like Cow (mqtt client traits), or incidental usage of String (wifi trait configuration) which can be avoided either by using heapless (as the strings have an upper limit) or better yet - lifetimed &str.

Given that it might be very possible to provide completely alloc-free implementations of these traits (or at least of their asyncified versions), we should remove the alloc requirements from these traits.

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