From 151c48b40237f9ed12050f0057593a673709c830 Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Mon, 1 Jul 2024 10:37:46 +0200 Subject: [PATCH] Update `dashmap`, `hashlink`, and `rustc-hash` --- Cargo.toml | 6 +++--- src/tracked_struct/struct_map.rs | 8 ++------ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0e37d4f1..43ee2a74 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,13 +11,13 @@ description = "A generic framework for on-demand, incrementalized computation (e arc-swap = "1.6.0" boomphf = "0.6.0" crossbeam = "0.8.1" -dashmap = "5.3.4" -hashlink = "0.8.0" +dashmap = "6.0.1" +hashlink = "0.9.1" indexmap = "2" log = "0.4.5" orx-concurrent-vec = "1.10.0" parking_lot = "0.12.1" -rustc-hash = "1.1.0" +rustc-hash = "2.0.0" salsa-macro-rules = { version = "0.1.0", path = "components/salsa-macro-rules" } salsa-macros = { path = "components/salsa-macros" } smallvec = "1.0.0" diff --git a/src/tracked_struct/struct_map.rs b/src/tracked_struct/struct_map.rs index 50618473..9f982a34 100644 --- a/src/tracked_struct/struct_map.rs +++ b/src/tracked_struct/struct_map.rs @@ -6,11 +6,7 @@ use std::{ use crossbeam::queue::SegQueue; use dashmap::mapref::one::RefMut; -use crate::{ - alloc::Alloc, - hash::{FxDashMap, FxHasher}, - Id, Runtime, -}; +use crate::{alloc::Alloc, hash::FxDashMap, Id, Runtime}; use super::{Configuration, KeyStruct, Value}; @@ -251,7 +247,7 @@ pub(crate) struct UpdateRef<'db, C> where C: Configuration, { - guard: RefMut<'db, Id, Alloc>, FxHasher>, + guard: RefMut<'db, Id, Alloc>>, } impl<'db, C> UpdateRef<'db, C>