Skip to content

Commit e49c58f

Browse files
committed
Merge remote-tracking branch 'origin/main' into no-undo
2 parents 9f7b1af + f4de1ad commit e49c58f

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

crates/bevy_platform/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ spin = { version = "0.10.0", default-features = false, features = [
6666
"lazy",
6767
"barrier",
6868
] }
69-
foldhash = { version = "0.1.3", default-features = false }
70-
hashbrown = { version = "0.15.1", features = [
69+
foldhash = { version = "0.2.0", default-features = false }
70+
hashbrown = { version = "0.16.0", features = [
7171
"equivalent",
7272
"raw-entry",
7373
], optional = true, default-features = false }

crates/bevy_platform/src/hash.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const FIXED_HASHER: FixedState =
2222
#[derive(Copy, Clone, Default, Debug)]
2323
pub struct FixedHasher;
2424
impl BuildHasher for FixedHasher {
25-
type Hasher = DefaultHasher;
25+
type Hasher = DefaultHasher<'static>;
2626

2727
#[inline]
2828
fn build_hasher(&self) -> Self::Hasher {

crates/bevy_reflect/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ bevy_platform = { path = "../bevy_platform", version = "0.17.0-dev", default-fea
9999
] }
100100

101101
# used by bevy-utils, but it also needs reflect impls
102-
foldhash = { version = "0.1.3", default-features = false }
103-
hashbrown = { version = "0.15.1", optional = true, default-features = false }
102+
foldhash = { version = "0.2.0", default-features = false }
103+
hashbrown = { version = "0.16.0", optional = true, default-features = false }
104104

105105
# other
106106
erased-serde = { version = "0.4", default-features = false, features = [
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use crate::impl_type_path;
22

3-
impl_type_path!(::foldhash::fast::FoldHasher);
3+
impl_type_path!(::foldhash::fast::FoldHasher<'a>);
44
impl_type_path!(::foldhash::fast::FixedState);
55
impl_type_path!(::foldhash::fast::RandomState);
6-
impl_type_path!(::foldhash::quality::FoldHasher);
6+
impl_type_path!(::foldhash::quality::FoldHasher<'a>);
77
impl_type_path!(::foldhash::quality::FixedState);
88
impl_type_path!(::foldhash::quality::RandomState);

crates/bevy_reflect/src/utility.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,6 @@ impl<T: TypedProperty> Default for GenericTypeCell<T> {
303303
///
304304
/// [`Reflect::reflect_hash`]: crate::Reflect
305305
#[inline]
306-
pub fn reflect_hasher() -> DefaultHasher {
306+
pub fn reflect_hasher() -> DefaultHasher<'static> {
307307
FixedHasher.build_hasher()
308308
}

tools/build-templated-pages/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ toml_edit = { version = "0.23.2", default-features = false, features = [
1212
tera = "1.15"
1313
serde = { version = "1.0", features = ["derive"] }
1414
bitflags = "2.3"
15-
hashbrown = { version = "0.15", features = ["serde"] }
15+
hashbrown = { version = "0.16.0", features = ["serde"] }
1616

1717
[lints]
1818
workspace = true

0 commit comments

Comments
 (0)