summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-11-06 22:10:06 +0800
committer魏曹先生 <1992414357@qq.com>2025-11-06 22:10:06 +0800
commit62dd79cea8bfc0b6af95049d8a0187dd2380b09c (patch)
tree1d843b768cbc2772e874e76260fb16b25e53c6f0
parent22d76e53091c616fc3c4b8c459c08625a111178f (diff)
update: Dependencies and project configuration
- Update Cargo.lock with latest dependencies - Add new dependencies to Cargo.toml - Update vcs_data crate dependencies
-rw-r--r--Cargo.lock145
-rw-r--r--Cargo.toml9
-rw-r--r--crates/vcs_data/Cargo.toml10
3 files changed, 162 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 24ef902..08fdf97 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -38,6 +38,28 @@ dependencies = [
]
[[package]]
+name = "ahash"
+version = "0.8.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75"
+dependencies = [
+ "cfg-if",
+ "getrandom 0.3.4",
+ "once_cell",
+ "version_check",
+ "zerocopy",
+]
+
+[[package]]
+name = "android_system_properties"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
+dependencies = [
+ "libc",
+]
+
+[[package]]
name = "arrayref"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -213,6 +235,19 @@ dependencies = [
]
[[package]]
+name = "chrono"
+version = "0.4.42"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2"
+dependencies = [
+ "iana-time-zone",
+ "js-sys",
+ "num-traits",
+ "wasm-bindgen",
+ "windows-link",
+]
+
+[[package]]
name = "cipher"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -235,6 +270,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6"
[[package]]
+name = "core-foundation-sys"
+version = "0.8.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
+
+[[package]]
name = "cpufeatures"
version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -305,6 +346,14 @@ dependencies = [
]
[[package]]
+name = "data_struct"
+version = "0.1.0"
+dependencies = [
+ "ahash",
+ "serde",
+]
+
+[[package]]
name = "der"
version = "0.7.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -469,6 +518,30 @@ dependencies = [
]
[[package]]
+name = "iana-time-zone"
+version = "0.1.64"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb"
+dependencies = [
+ "android_system_properties",
+ "core-foundation-sys",
+ "iana-time-zone-haiku",
+ "js-sys",
+ "log",
+ "wasm-bindgen",
+ "windows-core",
+]
+
+[[package]]
+name = "iana-time-zone-haiku"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
+dependencies = [
+ "cc",
+]
+
+[[package]]
name = "indexmap"
version = "2.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -510,10 +583,12 @@ version = "0.0.0"
dependencies = [
"action_system",
"cfg_file",
+ "data_struct",
"string_proc",
"tcp_connection",
"vcs_actions",
"vcs_data",
+ "vcs_docs",
]
[[package]]
@@ -1309,12 +1384,16 @@ version = "0.1.0"
dependencies = [
"action_system",
"cfg_file",
+ "chrono",
+ "data_struct",
"dirs",
"serde",
"string_proc",
"tcp_connection",
"tokio",
"uuid",
+ "vcs_docs",
+ "winapi-util",
]
[[package]]
@@ -1329,6 +1408,10 @@ dependencies = [
]
[[package]]
+name = "vcs_docs"
+version = "0.1.0"
+
+[[package]]
name = "version_check"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1409,12 +1492,74 @@ dependencies = [
]
[[package]]
+name = "winapi-util"
+version = "0.1.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
+dependencies = [
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "windows-core"
+version = "0.62.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
+dependencies = [
+ "windows-implement",
+ "windows-interface",
+ "windows-link",
+ "windows-result",
+ "windows-strings",
+]
+
+[[package]]
+name = "windows-implement"
+version = "0.60.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
+name = "windows-interface"
+version = "0.59.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn",
+]
+
+[[package]]
name = "windows-link"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
[[package]]
+name = "windows-result"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
+dependencies = [
+ "windows-link",
+]
+
+[[package]]
+name = "windows-strings"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
+dependencies = [
+ "windows-link",
+]
+
+[[package]]
name = "windows-sys"
version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/Cargo.toml b/Cargo.toml
index fa5292c..631841e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,8 +5,9 @@ license-file = "LICENSE-MIT.md"
authors = ["Weicao-CatilGrass (GitHub)"]
[features]
-all = ["cfg_file", "tcp_connection", "string_proc", "vcs"]
+all = ["cfg_file", "data_struct", "tcp_connection", "string_proc", "vcs"]
cfg_file = []
+data_struct = []
tcp_connection = []
string_proc = []
vcs = []
@@ -19,6 +20,8 @@ members = [
"crates/utils/cfg_file/cfg_file_derive",
"crates/utils/cfg_file/cfg_file_test",
+ "crates/utils/data_struct",
+
"crates/utils/tcp_connection",
"crates/utils/tcp_connection/tcp_connection_test",
@@ -31,6 +34,8 @@ members = [
"crates/vcs_data/vcs_data_test",
"crates/vcs_actions",
+
+ "crates/vcs_docs",
]
[workspace.package]
@@ -57,10 +62,12 @@ strip = "symbols"
[dependencies]
cfg_file = { path = "crates/utils/cfg_file" }
+data_struct = { path = "crates/utils/data_struct" }
tcp_connection = { path = "crates/utils/tcp_connection" }
string_proc = { path = "crates/utils/string_proc" }
action_system = { path = "crates/system_action" }
+vcs_docs = { path = "crates/vcs_docs" }
vcs_data = { path = "crates/vcs_data" }
vcs_actions = { path = "crates/vcs_actions" }
diff --git a/crates/vcs_data/Cargo.toml b/crates/vcs_data/Cargo.toml
index f28c91e..b06984f 100644
--- a/crates/vcs_data/Cargo.toml
+++ b/crates/vcs_data/Cargo.toml
@@ -6,12 +6,14 @@ version.workspace = true
[dependencies]
# Utils
-tcp_connection = { path = "../utils/tcp_connection" }
cfg_file = { path = "../utils/cfg_file", features = ["default"] }
+data_struct = { path = "../utils/data_struct" }
+tcp_connection = { path = "../utils/tcp_connection" }
string_proc = { path = "../utils/string_proc" }
# Core
action_system = { path = "../system_action" }
+vcs_docs = { path = "../vcs_docs" }
# Identity
uuid = { version = "1.18.1", features = ["v4", "serde"] }
@@ -24,3 +26,9 @@ tokio = { version = "1.48.0", features = ["full"] }
# Filesystem
dirs = "6.0.0"
+
+# Time
+chrono = "0.4.42"
+
+# Win API
+winapi-util = "0.1.11"