pub(crate) type IndexMap<K, V> =
indexmap::IndexMap<K, V, core::hash::BuildHasherDefault<ahash::AHasher>>;
pub(crate) type IndexSet<T> = indexmap::IndexSet<T, core::hash::BuildHasherDefault<ahash::AHasher>>;
#[cfg(test)]
macro_rules! indexmap {
($($key:expr => $value:expr,)+) => { indexmap::indexmap_with_default!{ahash::AHasher; $($key => $value),+} };
($($key:expr => $value:expr),*) => { indexmap::indexmap_with_default!{ahash::AHasher; $($key => $value),*} };
}
macro_rules! indexset {
($($value:expr,)+) => { indexmap::indexset_with_default!{ahash::AHasher; $($value),+} };
($($value:expr),*) => { indexmap::indexset_with_default!{ahash::AHasher; $($value),*} };
}
#[cfg(test)]
pub(crate) use indexmap;
pub(crate) use indexset;