#[cfg(all(feature = "fxhash", feature = "ahash"))]
compile_error!(
"captrack: select at most one default-hasher feature (fxhash / ahash / foldhash / rustc-hash)"
);
#[cfg(all(feature = "fxhash", feature = "foldhash"))]
compile_error!(
"captrack: select at most one default-hasher feature (fxhash / ahash / foldhash / rustc-hash)"
);
#[cfg(all(feature = "fxhash", feature = "rustc-hash"))]
compile_error!(
"captrack: select at most one default-hasher feature (fxhash / ahash / foldhash / rustc-hash)"
);
#[cfg(all(feature = "ahash", feature = "foldhash"))]
compile_error!(
"captrack: select at most one default-hasher feature (fxhash / ahash / foldhash / rustc-hash)"
);
#[cfg(all(feature = "ahash", feature = "rustc-hash"))]
compile_error!(
"captrack: select at most one default-hasher feature (fxhash / ahash / foldhash / rustc-hash)"
);
#[cfg(all(feature = "foldhash", feature = "rustc-hash"))]
compile_error!(
"captrack: select at most one default-hasher feature (fxhash / ahash / foldhash / rustc-hash)"
);
#[cfg(not(any(
feature = "fxhash",
feature = "ahash",
feature = "foldhash",
feature = "rustc-hash"
)))]
pub type CapHasher = std::collections::hash_map::RandomState;
#[cfg(feature = "fxhash")]
pub type CapHasher = fxhash::FxBuildHasher;
#[cfg(feature = "ahash")]
pub type CapHasher = ahash::RandomState;
#[cfg(feature = "foldhash")]
pub type CapHasher = foldhash::fast::RandomState;
#[cfg(feature = "rustc-hash")]
pub type CapHasher = rustc_hash::FxBuildHasher;