mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Switch the majority of fxhash uses to rustc_hash which is maintained (#39168)
fxhash seems to be unmaintained (see https://github.com/rustsec/advisory-db/issues/2185) so we should move away from it. Additionally, the new crate might be slightly faster. There is still some cases depending on stylo that have the old fxhash crate. Signed-off-by: Narfinger <Narfinger@users.noreply.github.com> Testing: Changes in Hash should really not show any bugs. And performance should be comparable. Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
This commit is contained in:
parent
d67a7bad39
commit
e64c53972a
9 changed files with 11 additions and 6 deletions
|
@ -100,6 +100,7 @@ parking_lot = { workspace = true }
|
|||
percent-encoding = { workspace = true }
|
||||
phf = "0.11"
|
||||
pixels = { path = "../pixels" }
|
||||
rustc-hash = { workspace = true }
|
||||
profile_traits = { workspace = true }
|
||||
range = { path = "../range" }
|
||||
regex = { workspace = true }
|
||||
|
|
|
@ -8,12 +8,12 @@ use std::time::Duration;
|
|||
|
||||
use compositing_traits::{ImageUpdate, SerializableImageData};
|
||||
use embedder_traits::UntrustedNodeAddress;
|
||||
use fxhash::FxHashMap;
|
||||
use ipc_channel::ipc::IpcSharedMemory;
|
||||
use layout_api::ImageAnimationState;
|
||||
use libc::c_void;
|
||||
use malloc_size_of::MallocSizeOf;
|
||||
use parking_lot::RwLock;
|
||||
use rustc_hash::FxHashMap;
|
||||
use script_bindings::codegen::GenericBindings::WindowBinding::WindowMethods;
|
||||
use script_bindings::root::Dom;
|
||||
use style::dom::OpaqueNode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue