Skip to main content

cuenv_vcs/
lib.rs

1//! Pluggable input-file hashing for cuenv.
2//!
3//! This crate defines [`VcsHasher`], the trait the task executor uses to
4//! resolve declared input patterns (globs, directories, explicit paths) and
5//! produce a stable SHA-256 per matched file. The default implementation,
6//! [`WalkHasher`], walks the filesystem; VCS-aware implementations (git and
7//! friends) can plug in later behind the same trait so the executor
8//! doesn't care how the hashes were obtained.
9
10pub mod error;
11pub mod hasher;
12pub mod walker;
13
14pub use error::{Error, Result};
15pub use hasher::{HashedInput, VcsHasher};
16pub use walker::WalkHasher;