coordinode-lsm-tree 5.8.1

Embedded LSM-tree storage engine in pure Rust, no C/C++ dependency. MVCC snapshots, BuRR filters, zstd dictionary compression, columnar PAX blocks, AES-256-GCM at rest, self-healing per-block ECC, compaction on a near-full disk, no_std support.
Documentation
//! Stable hash functions used across the filter and table subsystems.
//!
//! `hash64` is the canonical 64-bit key hash piped into `BuRR` filters; it
//! is xxh3-based and deterministic across runs / processes / hosts.

/// Generates a 64-bit hash using xxh3.
#[must_use]
pub fn hash64(bytes: &[u8]) -> u64 {
    xxhash_rust::xxh3::xxh3_64(bytes)
}

/// Generates a 128-bit hash using xxh3.
#[must_use]
pub fn hash128(bytes: &[u8]) -> u128 {
    xxhash_rust::xxh3::xxh3_128(bytes)
}

#[cfg(test)]
mod tests;