pub mod formatter;
pub mod prompts;
pub mod iterator_ext;
pub mod vec_ext;
#[cfg(feature = "log")]
pub mod log;
#[cfg(feature = "path-utils")]
pub mod paths;
#[cfg(feature = "database")]
pub mod database;
#[cfg(feature = "config")]
pub mod config;
#[cfg(feature = "ratatui_theme")]
pub mod ratatui_theme;
#[cfg(feature = "caching")]
pub mod caching;
#[cfg(feature = "runners")]
pub mod runners;
#[cfg(feature = "hash-utils")]
pub fn hash_file(path: impl AsRef<std::path::Path>) -> std::io::Result<blake3::Hash> {
let mut hasher = blake3::Hasher::new();
hasher.update_mmap(path)?;
Ok(hasher.finalize())
}