2
0
Fork 0
mirror of https://github.com/bevyengine/bevy synced 2024-12-27 21:43:08 +00:00
bevy/crates/bevy_render
Clar Fon 711246aa34
Update hashbrown to 0.15 ()
Updating dependencies; adopted version of . (Supercedes #15696.)

Long answer: hashbrown is no longer using ahash by default, meaning that
we can't use the default-hasher methods with ahasher. So, we have to use
the longer-winded versions instead. This takes the opportunity to also
switch our default hasher as well, but without actually enabling the
default-hasher feature for hashbrown, meaning that we'll be able to
change our hasher more easily at the cost of all of these method calls
being obnoxious forever.

One large change from 0.15 is that `insert_unique_unchecked` is now
`unsafe`, and for cases where unsafe code was denied at the crate level,
I replaced it with `insert`.

## Migration Guide

`bevy_utils` has updated its version of `hashbrown` to 0.15 and now
defaults to `foldhash` instead of `ahash`. This means that if you've
hard-coded your hasher to `bevy_utils::AHasher` or separately used the
`ahash` crate in your code, you may need to switch to `foldhash` to
ensure that everything works like it does in Bevy.
2024-12-10 19:45:50 +00:00
..
macros Make StandardMaterial bindless. () 2024-12-10 17:48:56 +00:00
src Update hashbrown to 0.15 () 2024-12-10 19:45:50 +00:00
Cargo.toml Deny derive_more error feature and replace it with thiserror () 2024-12-06 17:03:55 +00:00
README.md Add README.md to all crates () 2024-05-02 18:56:00 +00:00

Bevy Render

License Crates.io Downloads Docs Discord