Skip to content

no_std support #31

@MaciejWas

Description

@MaciejWas

Hi, thanks for writing and sharing this crate!

I wanted to use it in a no_std environment but I noticed that there is no std/no_std feature flag. I modified your crate in my fork and got quadtree to compile without the std library (7fef19c). Would you accept a PR adding no_std support?

I looks like the only std-incompatible thing is the usage of std::collections::HashMap, so my proposition would be to replace it with hashbrown + ahash (which appears to be a better fit than the default hasher). Other option would be to allow users to specify the hasher.

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