37 lines
1.0 KiB
TOML
37 lines
1.0 KiB
TOML
[package]
|
|
name = "WatcherAgent"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Patrick Mahnke-Hartmann <https://github.com/donpat1to>"]
|
|
description = "A client heartbeat sender for CS monitoring"
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
tokio = { version = "1.37", features = ["full"] }
|
|
local-ip-address = "0.5"
|
|
reqwest = { version = "0.12.23", default-features = false, features = ["json", "blocking", "cookies", "rustls-tls"] }
|
|
sysinfo = "0.36.1"
|
|
metrics = "0.24.2"
|
|
chrono = "0.4"
|
|
nvml-wrapper = "0.11"
|
|
nvml-wrapper-sys = "0.9.0"
|
|
anyhow = "1.0.98"
|
|
|
|
# Docker .env loading
|
|
config = "0.13"
|
|
dotenvy = "0.15"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3", features = ["winuser", "pdh", "ifmib", "iphlpapi", "winerror" ,"wbemcli", "combaseapi"] }
|
|
systemstat = "0.2.5"
|
|
com = "0.2"
|
|
widestring = "0.5"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
glob = "0.3"
|
|
libloading = "0.8"
|
|
|
|
[build-dependencies]
|
|
pkg-config = { version = "0.3", optional = true } # Für Library-Detektion |