- 添加项目基础结构:Cargo.toml、.gitignore、设备UID和密钥文件 - 实现前端Vue3项目结构:路由、登录页面、设备管理页面 - 添加核心协议定义(crates/protocol):设备状态、资产、USB事件等 - 实现客户端监控模块:系统状态收集、资产收集 - 实现服务端基础API和插件系统 - 添加数据库迁移脚本:设备管理、资产跟踪、告警系统等 - 实现前端设备状态展示和基本交互 - 添加使用时长统计和水印功能插件
49 lines
1.3 KiB
TOML
49 lines
1.3 KiB
TOML
[package]
|
|
name = "csm-client"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
csm-protocol = { path = "../protocol" }
|
|
tokio = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
uuid = { workspace = true }
|
|
chrono = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
sysinfo = "0.30"
|
|
tokio-rustls = "0.26"
|
|
rustls = { version = "0.23", default-features = false, features = ["ring", "std"] }
|
|
rustls-pki-types = "1"
|
|
webpki-roots = "0.26"
|
|
rustls-pemfile = "2"
|
|
hmac = "0.12"
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows = { version = "0.54", features = [
|
|
"Win32_Foundation",
|
|
"Win32_System_SystemInformation",
|
|
"Win32_System_Registry",
|
|
"Win32_System_IO",
|
|
"Win32_Security",
|
|
"Win32_NetworkManagement_IpHelper",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|
"Win32_System_Threading",
|
|
"Win32_System_Diagnostics_ToolHelp",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_Performance",
|
|
"Win32_Graphics_Gdi",
|
|
] }
|
|
windows-service = "0.7"
|
|
hostname = "0.4"
|
|
|
|
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
|
hostname = "0.4"
|