collections.rs

 1#[cfg(feature = "test-support")]
 2pub type HashMap<K, V> = FxHashMap<K, V>;
 3
 4#[cfg(feature = "test-support")]
 5pub type HashSet<T> = FxHashSet<T>;
 6
 7#[cfg(feature = "test-support")]
 8pub type IndexMap<K, V> = indexmap::IndexMap<K, V, rustc_hash::FxBuildHasher>;
 9
10#[cfg(feature = "test-support")]
11pub type IndexSet<T> = indexmap::IndexSet<T, rustc_hash::FxBuildHasher>;
12
13#[cfg(not(feature = "test-support"))]
14pub type HashMap<K, V> = std::collections::HashMap<K, V>;
15
16#[cfg(not(feature = "test-support"))]
17pub type HashSet<T> = std::collections::HashSet<T>;
18
19#[cfg(not(feature = "test-support"))]
20pub type IndexMap<K, V> = indexmap::IndexMap<K, V>;
21
22#[cfg(not(feature = "test-support"))]
23pub type IndexSet<T> = indexmap::IndexSet<T>;
24
25pub use indexmap::Equivalent;
26pub use rustc_hash::FxHasher;
27pub use rustc_hash::{FxHashMap, FxHashSet};
28pub use std::collections::*;