File size: 452 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Hashing and encoding functions for turbopack.
//!
//! An example use of this module is hashing a file's content for cache
//! invalidation, and encoding the hash to an hexadecimal string for use in a
//! file name.

mod deterministic_hash;
mod hex;
mod xxh3_hash64;

pub use crate::{
    deterministic_hash::{DeterministicHash, DeterministicHasher},
    hex::encode_hex,
    xxh3_hash64::{Xxh3Hash64Hasher, hash_xxh3_hash64, hash_xxh3_hash128},
};