#[cfg(all(target_arch = "aarch64", target_os = "macos"))]
pub mod metal;
#[derive(Copy, Clone, PartialEq)]
pub enum HashFn {
Rpo256,
Rpx256,
}
impl std::fmt::Display for HashFn {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
HashFn::Rpo256 => write!(f, "rpo_256"),
HashFn::Rpx256 => write!(f, "rpx_256"),
}
}
}