mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
ebac7e8268
# 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
25 lines
775 B
TOML
25 lines
775 B
TOML
[package]
|
|
name = "bevy_utils"
|
|
version = "0.11.0-dev"
|
|
edition = "2021"
|
|
description = "A collection of utils for Bevy Engine"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy"]
|
|
|
|
[features]
|
|
detailed_trace = []
|
|
|
|
[dependencies]
|
|
ahash = "0.8.3"
|
|
tracing = { version = "0.1", default-features = false, features = ["std"] }
|
|
instant = { version = "0.1", features = ["wasm-bindgen"] }
|
|
uuid = { version = "1.1", features = ["v4", "serde"] }
|
|
hashbrown = { version = "0.13", features = ["serde"] }
|
|
bevy_utils_proc_macros = {version = "0.11.0-dev", path = "macros"}
|
|
petgraph = "0.6"
|
|
thiserror = "1.0"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
getrandom = {version = "0.2.0", features = ["js"]}
|