From 7b97b52af021500d8085c875d20215e8dc0f53cc Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 17 Nov 2025 11:49:49 +0800 Subject: 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 --- crates/vcs_data/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crates/vcs_data/Cargo.toml') diff --git a/crates/vcs_data/Cargo.toml b/crates/vcs_data/Cargo.toml index de83b7b..3093809 100644 --- a/crates/vcs_data/Cargo.toml +++ b/crates/vcs_data/Cargo.toml @@ -8,6 +8,7 @@ version.workspace = true # Utils cfg_file = { path = "../utils/cfg_file", features = ["default"] } data_struct = { path = "../utils/data_struct" } +sha1_hash = { path = "../utils/sha1_hash" } tcp_connection = { path = "../utils/tcp_connection" } string_proc = { path = "../utils/string_proc" } @@ -26,9 +27,10 @@ tokio = { version = "1.48.0", features = ["full"] } # Filesystem dirs = "6.0.0" +walkdir = "2.5.0" # Time chrono = "0.4.42" # Windows API -winapi = { version = "0.3.9", features = ["fileapi", "winbase", "winnt"] } \ No newline at end of file +winapi = { version = "0.3.9", features = ["fileapi", "winbase", "winnt"] } -- cgit