turbo_tasks_hash/lib.rs
1//! Hashing and encoding functions for turbopack.
2//!
3//! An example use of this module is hashing a file's content for cache
4//! invalidation, and encoding the hash to an hexadecimal string for use in a
5//! file name.
6
7mod deterministic_hash;
8mod hex;
9mod xxh3_hash64;
10
11pub use crate::{
12 deterministic_hash::{DeterministicHash, DeterministicHasher},
13 hex::encode_hex,
14 xxh3_hash64::{Xxh3Hash64Hasher, hash_xxh3_hash64, hash_xxh3_hash128},
15};