hw 0.2.3

强大而统一的跨平台硬件监控工具
[[bin]]
name = "hw"
path = "src/main.rs"

[build-dependencies.built]
features = ["chrono", "git2"]
optional = true
version = "0.7"

[build-dependencies.e-utils]
version = "0.4.18"

[dependencies.csv]
optional = true
version = "1.3"

[dependencies.e-log]
optional = true
version = "0.3"

[dependencies.e-utils]
features = ["tokio", "cmd", "parse"]
version = "^0.4.19"

[dependencies.futures]
optional = true
version = "0.3"

[dependencies.goblin]
optional = true
version = "0.9"

[dependencies.libc]
optional = true
version = "0.2"

[dependencies.ntp-client]
features = ["sync-system"]
optional = true
version = "0.1"

[dependencies.serde]
features = ["derive"]
version = "1"

[dependencies.serde_json]
version = "1.0"

[dependencies.structopt]
optional = true
version = "0.3"

[dependencies.strum]
features = ["derive"]
version = "0.26"

[dependencies.sysinfo]
default-features = false
version = "0.33"

[dependencies.tokio]
features = ["full"]
version = "1"

[dev-dependencies]

[features]
aida64 = ["wmi", "system"]
argus-monitor = ["csv"]
build = ["winresource", "static_vcruntime", "e-utils/build"]
built = ["dep:built", "e-utils/fs"]
cli = ["structopt"]
component = ["sysinfo/component"]
core-temp = ["csv"]
default = ["ohm", "lhm", "aida64", "os", "cli", "file-info", "drive", "tracing", "core-temp", "argus-monitor", "disk"]
desktop = ["windows/Win32_Foundation", "windows/Win32_Storage_FileSystem", "windows/Win32_NetworkManagement_NetManagement"]
disk = ["sysinfo/disk"]
drive = ["winapi/winbase", "winapi/libloaderapi", "winapi/minwinbase", "winapi/winuser"]
file-info = ["goblin", "winapi/winbase", "winapi/processenv"]
lhm = ["wmi", "system"]
log = ["e-log/log"]
multithread = ["sysinfo/multithread"]
net-interface = ["windows/Win32_Foundation", "windows/Win32_NetworkManagement_IpHelper", "windows/Win32_Networking_WinSock", "libc"]
network = ["sysinfo/network", "net-interface", "futures", "ntp-client"]
ohm = ["wmi", "system"]
os = ["system", "user", "network", "multithread", "disk", "component", "os-system", "os-office"]
os-office = []
os-system = []
system = ["sysinfo/system"]
tracing = ["e-log/tracing"]
user = ["sysinfo/user", "desktop"]

[lib]
crate-type = ["rlib"]
name = "hw"
path = "src/lib.rs"
proc-macro = false

[package]
authors = ["Eternal(梦游) <EternalNightYeah2@yeah.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["hardware-support", "os::windows-apis", "development-tools::debugging", "os", "command-line-utilities"]
description = "强大而统一的跨平台硬件监控工具"
documentation = "https://docs.rs/hw"
edition = "2021"
homepage = "https://gitee.com/eternalnight996"
include = ["src/", "*.md", "LICENSE", "Cargo.toml", "COPYRIGHT", "build.rs"]
keywords = ["hardware", "monitor", "system", "sensors", "hw"]
license-file = "LICENSE"
name = "hw"
readme = "README.md"
rust-version = "1.78.0"
version = "0.2.3"

[target.'cfg(target_os="windows")'.dependencies.winapi]
optional = true
version = "0.3.9"

[target.'cfg(target_os="windows")'.dependencies.windows]
optional = true
version = "0.30"

[target.'cfg(target_os="windows")'.dependencies.wmi]
optional = true
version = "0.14"

[target."cfg(windows)".build-dependencies.static_vcruntime]
optional = true
version = "2"

[target."cfg(windows)".build-dependencies.winresource]
optional = true
version = "0.1"