1pub type IndexMap<K, V> = indexmap::IndexMap<K, V, core::hash::BuildHasherDefault<ahash::AHasher>>;
3pub(crate) type IndexSet<T> = indexmap::IndexSet<T, core::hash::BuildHasherDefault<ahash::AHasher>>;
4
5#[cfg(test)]
7macro_rules! indexmap {
8 ($($key:expr => $value:expr,)+) => { indexmap::indexmap_with_default!{ahash::AHasher; $($key => $value),+} };
9 ($($key:expr => $value:expr),*) => { indexmap::indexmap_with_default!{ahash::AHasher; $($key => $value),*} };
10}
11
12macro_rules! indexset {
14 ($($value:expr,)+) => { indexmap::indexset_with_default!{ahash::AHasher; $($value),+} };
15 ($($value:expr),*) => { indexmap::indexset_with_default!{ahash::AHasher; $($value),*} };
16}
17
18#[cfg(test)]
19pub(crate) use indexmap;
20pub(crate) use indexset;