Skip to main content

chunkify/
lib.rs

1//! chunkify
2//!
3//! A simple and efficient chunking library for Rust.
4
5mod r#const;
6mod r#enum;
7mod r#impl;
8mod r#static;
9mod r#struct;
10mod r#trait;
11mod r#type;
12
13pub use {r#const::*, r#enum::*, r#struct::*, r#trait::*, r#type::*};
14
15use r#static::*;
16
17use std::{
18    fmt,
19    fs::{self, File, OpenOptions},
20    hash::BuildHasherDefault,
21    io::{BufWriter, Write},
22    path::Path,
23    sync::Arc,
24};
25
26use {
27    dashmap::{DashMap, mapref::one::RefMut},
28    file_operation::*,
29    once_cell::sync::Lazy,
30    tokio::sync::{RwLock, RwLockWriteGuard},
31    twox_hash::XxHash3_64,
32};