Skip to content

Support no-std #3

@uklotzde

Description

@uklotzde

It should be possible to use this library in a no-std (bare metal) environment.

The only heap allocation that is needed is for the lookup table. The size is known in advance and the required memory could be allocated statically.

By switching to hashbrown::HashMap this should be possible.

Since Rust 1.36, this is now the HashMap implementation for the Rust standard library. However you may still want to use this crate instead since it works in environments without std, such as embedded systems and kernels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions