rspack_util 0.7.11

rspack util
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::hash::BuildHasherDefault;

use dashmap::{DashMap, DashSet};
pub use indexmap;
use indexmap::{IndexMap, IndexSet};
use rustc_hash::FxHasher;
pub type BuildFxHasher = BuildHasherDefault<FxHasher>;
pub use rustc_hash::{FxHashMap, FxHashSet};
pub type FxDashMap<K, V> = DashMap<K, V, BuildHasherDefault<FxHasher>>;
pub type FxDashSet<V> = DashSet<V, BuildHasherDefault<FxHasher>>;
pub type FxIndexMap<K, V> = IndexMap<K, V, BuildHasherDefault<FxHasher>>;
pub type FxIndexSet<K> = IndexSet<K, BuildHasherDefault<FxHasher>>;