replace fxhash crate with rustc-hash (#588)

This commit is contained in:
saicu authored and GitHub committed 2022-10-12 18:27:26 -07:00
1 parent 23c48cf795
commit e8c48d46cf
18 files changed
+22 -22

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ tokio = { version = "1.15.0", features = ["full"] }
futures = "0.3.19"
taffy = "0.1.0"
smallvec = "1.6"
fxhash = "0.2"
rustc-hash = "1.1.0"
anymap = "0.12.1"
[dev-dependencies]
+1 -1
View File
@@ -2,7 +2,7 @@ use crossterm::event::{
Event as TermEvent, KeyCode as TermKeyCode, KeyModifiers, MouseButton, MouseEventKind,
};
use dioxus_core::*;
use fxhash::{FxHashMap, FxHashSet};
use rustc_hash::{FxHashMap, FxHashSet};
use dioxus_html::geometry::euclid::{Point2D, Rect, Size2D};
use dioxus_html::geometry::{
+1 -1
View File
@@ -133,7 +133,7 @@ fn render_vdom(
terminal.clear().unwrap();
}
let mut to_rerender: fxhash::FxHashSet<GlobalNodeId> =
let mut to_rerender: rustc_hash::FxHashSet<GlobalNodeId> =
vec![GlobalNodeId::VNodeId(ElementId(0))]
.into_iter()
.collect();