Feature gate a function
@@ -19,6 +19,7 @@ pub(crate) struct CuckooItem {
}
impl CuckooItem {
+ #[cfg(feature = "psty")]
/// Replace the first byte of the entry with the hash index. Used in PSTY.
pub fn entry_with_hindex(&self) -> Block {
let mask = Block::from(0xFFFF_FFFF_FFFF_FFFF_FFFF_FFFF_FFFF_FF00);
