Implement asset inventory
This commit is contained in:
+8
-2
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "hello-agent"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
edition = "2021"
|
||||
rust-version = "1.75"
|
||||
description = "Headless RustDesk-protocol-compatible support agent for Windows"
|
||||
@@ -28,10 +28,16 @@ tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync",
|
||||
log = "0.4"
|
||||
env_logger = "0.10"
|
||||
anyhow = "1"
|
||||
# Used by `inventory.rs` to validate the PowerShell-produced JSON before
|
||||
# we stamp it into the sysinfo upload. hbb_common already pulls serde_json
|
||||
# transitively, so this is a free re-export — listed explicitly here so
|
||||
# the inventory module's `use serde_json` doesn't depend on internal
|
||||
# implementation details of hbb_common.
|
||||
serde_json = "1"
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
windows-service = "0.6"
|
||||
winapi = { version = "0.3", features = ["winuser", "wtsapi32", "processthreadsapi", "synchapi", "handleapi", "winbase"] }
|
||||
winapi = { version = "0.3", features = ["winuser", "wtsapi32", "processthreadsapi", "synchapi", "handleapi", "winbase", "wlanapi", "wlantypes"] }
|
||||
winreg = "0.11"
|
||||
|
||||
# Embed the icon and EXE metadata via the Windows resource compiler.
|
||||
|
||||
Reference in New Issue
Block a user