From d5d32950736f597b49af0dc03120220da131d739 Mon Sep 17 00:00:00 2001 From: Zibi Braniecki Date: Thu, 21 Jan 2021 19:56:43 -0800 Subject: [PATCH] Switch from fxhash to rustc_hash --- Cargo.toml | 2 +- src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 83429b8..5164d34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,4 +10,4 @@ keywords = ["typemap", "extensions", "hashmap"] description = "Provides a typemap container with FxHashMap" [dependencies] -fxhash = "0.2" +rustc-hash = "1" diff --git a/src/lib.rs b/src/lib.rs index dbb64e2..08558aa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ use std::any::{Any, TypeId}; -use fxhash::FxHashMap; +use rustc_hash::FxHashMap; use std::collections::hash_map; use std::marker::PhantomData; @@ -159,7 +159,7 @@ pub mod concurrent { use std::any::{Any, TypeId}; - use fxhash::FxHashMap; + use rustc_hash::FxHashMap; use std::collections::hash_map; use std::marker::PhantomData;