bevy/crates/bevy_asset/src
François ebac7e8268
update ahash and hashbrown (#8623)
# Objective

- Update `ahash` and `hashbrown`
- Alternative to #5700 and #7420

## Solution

- Update the dependencies

This is a breaking change because we were creating two fixed hashers
with
[`AHasher::new_with_keys`](https://docs.rs/ahash/0.7.6/ahash/struct.AHasher.html#method.new_with_keys),
which was a method that existed only for testing purpose and has been
removed from public.

I replaced it with
[`RandomState::with_seeds`](https://docs.rs/ahash/0.8.3/ahash/random_state/struct.RandomState.html#method.with_seeds)
which is the proper way to get a fixed hasher (see [this
table](https://docs.rs/ahash/0.8.3/ahash/random_state/struct.RandomState.html)).
This means that hashes won't be the same across versions

---

## Migration Guide

- If you were using hashes to an asset or using one of the fixed hasher
exposed by Bevy with a previous version, you will have to update the
hashes
2023-05-23 02:17:07 +00:00
..
diagnostic Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
io Delay asset hot reloading (#8503) 2023-05-16 01:26:11 +00:00
asset_server.rs Delay asset hot reloading (#8503) 2023-05-16 01:26:11 +00:00
assets.rs update ahash and hashbrown (#8623) 2023-05-23 02:17:07 +00:00
debug_asset_server.rs Delay asset hot reloading (#8503) 2023-05-16 01:26:11 +00:00
filesystem_watcher.rs Delay asset hot reloading (#8503) 2023-05-16 01:26:11 +00:00
handle.rs Use cmp of Self in implementaions of partial_cmp (#8559) 2023-05-06 22:31:25 +00:00
info.rs docs: Full documentation for bevy_asset (#3536) 2022-07-12 15:44:09 +00:00
lib.rs Delay asset hot reloading (#8503) 2023-05-16 01:26:11 +00:00
loader.rs bevy_asset: Add LoadContext::get_handle_untyped (#8470) 2023-04-25 19:32:34 +00:00
path.rs update ahash and hashbrown (#8623) 2023-05-23 02:17:07 +00:00
reflect.rs Fixed several missing links in docs. (#8117) 2023-04-23 17:28:36 +00:00