Skip to content

Drop async_trait in favor of native async traits #1229

@olanod

Description

@olanod

async_fn_in_trait has been stabilized, declaring the crate's traits as "native" async traits can bring some performance benefits or make the code simpler, it could also help to towards a no-alloc version of the crate that works better in embedded devices as futures no longer have to be Boxed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions