summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-11-17 11:49:49 +0800
committer魏曹先生 <1992414357@qq.com>2025-11-17 11:49:49 +0800
commit7b97b52af021500d8085c875d20215e8dc0f53cc (patch)
tree9b8219363380db3330bda75e28e364154224eca8 /src/lib.rs
parente190d90594b17fb16849a13198af3f5152414e4c (diff)
feat: Add file status tracking and SHA1 hash system
- Implement SHA1 hash calculation module with async support - Add file status analysis for tracking moves, creates, and modifications - Enhance local file management with relative path handling - Update virtual file actions with improved tracking capabilities
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 8d9de66..6d94067 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -32,6 +32,13 @@ pub mod utils {
pub use data_struct::*;
}
+ // Feature `sha1_hash`
+ #[cfg(feature = "sha1_hash")]
+ pub mod sha1_hash {
+ extern crate sha1_hash;
+ pub use sha1_hash::*;
+ }
+
// Feature `tcp_connection`
#[cfg(feature = "tcp_connection")]
pub mod tcp_connection {