Skip to content

Deprecate StableHashMap/StableHashSet #11717

@alice-i-cecile

Description

@alice-i-cecile

What problem does this solve or what need does it fill?

As discussed in #11690, Bevy no longer uses these types internally.

What solution would you like?

Because these are simple re-export of HashBrown types, we should just remove them from Bevy, and let users import the types themselves if needed.

Deprecating for a cycle offers a smoother migration path, as we can point users to the correct replacement.

What alternative(s) have you considered?

Just remove them immediately, which is slightly less worse but more annoying to migrate for users.

Keeping them is a poor choice, as we have no business owning all purpose hashmap types. See #11478.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-UtilsUtility functions and typesC-Code-QualityA section of code that is hard to understand or changeD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions