[package]
edition = "2018"
name = "rustem"
version = "0.1.0"
authors = ["Triet Trinh <contact@trinhminhtriet.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight Rust library for system monitoring, providing CPU, memory, disk, and network statistics."
homepage = "https://trinhminhtriet.com"
readme = "README.md"
keywords = [
"system",
"info",
"monitoring",
"statistics",
]
license = "MIT"
repository = "https://github.com/trinhminhtriet/rustem"
[package.metadata.docs.rs]
targets = [
"x86_64-unknown-freebsd",
"x86_64-unknown-openbsd",
"x86_64-unknown-netbsd",
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
]
[lib]
name = "rustem"
path = "src/lib.rs"
[[example]]
name = "info"
path = "examples/info.rs"
[dependencies.bytesize]
version = "1.1"
[dependencies.lazy_static]
version = "1.0"
[dependencies.libc]
version = "0.2"
[dependencies.the_serde]
version = "1.0"
features = ["derive"]
optional = true
package = "serde"
[dependencies.time]
version = "0.3.9"
[features]
serde = [
"the_serde",
"bytesize/serde",
"time/serde",
]
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.nom]
version = "7.0"
[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
"fileapi",
"sysinfoapi",
"minwindef",
"winbase",
"winerror",
"ws2def",
"ws2ipdef",
"pdh",
]