chunkrs 0.9.0

A high-performance, deterministic, flexible and portable zero-copy streaming Content-Defined Chunking (CDC) and hashing infrastructure library. Bytes in → Chunks & hashes out
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Strong hash implementations for chunk identity.
//!
//! This module provides cryptographic hashing functionality for computing
//! content hashes of chunks. Currently supports BLAKE3 via the `hash-blake3`
//! feature.
//!
//! - [`Blake3Hasher`] - BLAKE3 hash implementation (requires `hash-blake3` feature)

#[cfg(feature = "hash-blake3")]
mod blake3;

// Re-export for use within the crate (module is private, so pub is crate-local)
#[cfg(feature = "hash-blake3")]
pub use blake3::Blake3Hasher;