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

Remove the raw feature and make RawTable private #546

Merged
merged 1 commit into from
Aug 23, 2024

Commits on Aug 22, 2024

  1. Remove the raw feature and make RawTable private

    This will give more freedom for the internal implementation details of
    hashbrown to evolve without the need for regular releases with breaking
    changes.
    
    All existing users of `RawTable` should migrate to the `HashTable` API
    which is entirely safe while providing the same flexibility as
    `RawTable`.
    
    This also removes the following features which were only exposed under
    `RawTable`:
    - `RawTable::iter_hash`
    - `RawIter::reflect_insert` and `RawIter::reflect_remove`
    - `RawTable::clone_from_with_hasher`
    - `RawTable::insert_no_grow` and `RawTable::try_insert_no_grow`
    - `RawTable::allocation_info`
    - `RawTable::try_with_capacity(_in)`
    - `HashMap::raw_table(_mut)` and `HashSet::raw_table(_mut)`
    Amanieu committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    26ef4a1 View commit details
    Browse the repository at this point in the history