Skip to content

Support alloc::Vec in read_to_end (and others) with an alloc feature #118

@kleinesfilmroellchen

Description

@kleinesfilmroellchen

Quite a few systems can support alloc even though they’re no_std, allowing use of normal Rust Vec and friends. littlefs2 could provide an optional alloc feature to enable use of alloc functionality with various APIs, most importantly a read_to_end variant that uses alloc::Vec instead of heapless::Vec.

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