Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support no_std targets #68

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Support no_std targets #68

merged 1 commit into from
Nov 14, 2023

Commits on Nov 10, 2023

  1. Support no_std targets

    This adds `no_std` support by
    - adding a default `std` feature for disabling `impl Error` on `no_std`.
    - adding the Hashbrown dependency for `no_std` hash sets
    
    Hashbrown also provides the `HashSet` implementation in `std`.
    `std`'s `HashSet` is not in liballoc yet, though. By default, Hashbrown
    uses AHash as the default hasher. AHash is much faster than `std`'s
    SipHash, but is not as HashDoS resistant. That seemed not relevant to me.
    
    Co-authored-by: Andreea Florescu <andreea.florescu15@gmail.com>
    Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
    mkroening and andreeaflorescu committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    3c2f4c7 View commit details
    Browse the repository at this point in the history