diff --git a/Cargo.lock b/Cargo.lock index 06814fa3e844..e6442b140949 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2524,7 +2524,6 @@ dependencies = [ name = "gkrust-uniffi-components" version = "0.1.0" dependencies = [ - "hashbrown 0.15.2", "relevancy", "search", "suggest", diff --git a/build/rust/hashbrown/Cargo.toml b/build/rust/hashbrown/Cargo.toml index 143231445a68..3d24ac68fc2f 100644 --- a/build/rust/hashbrown/Cargo.toml +++ b/build/rust/hashbrown/Cargo.toml @@ -9,7 +9,12 @@ path = "lib.rs" [features] default = ["hashbrown/default"] allocator-api2 = ["hashbrown/allocator-api2"] -ahash = [] # No direct equivalent in 0.15.*. +ahash = [ + # No direct equivalent in 0.15.*. However, the `ahash` feature made it so `DefaultHashBuilder` + # was a real struct that implemented `BuildHasher`, `Default`, etc. + # Enable 0.15.* `default-hasher` feature, which does the same. + "hashbrown/default-hasher" +] inline-more = ["hashbrown/inline-more"] raw = ["hashbrown/raw-entry"] serde = ["hashbrown/serde"] diff --git a/toolkit/components/uniffi-bindgen-gecko-js/components/Cargo.toml b/toolkit/components/uniffi-bindgen-gecko-js/components/Cargo.toml index 46d1ea0ef352..0c27a6747c37 100644 --- a/toolkit/components/uniffi-bindgen-gecko-js/components/Cargo.toml +++ b/toolkit/components/uniffi-bindgen-gecko-js/components/Cargo.toml @@ -22,8 +22,6 @@ search = "0.1" suggest = "0.1" relevancy = "0.1" webext-storage = "0.1" -# Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=1959469 -hashbrown = { version = "0.15.2", features = [ "default-hasher" ] } [features] # Should we depend on xpcom crates?