[package]
edition = "2018"
name = "systemstat"
version = "0.2.6"
authors = ["Val Packett <val@packett.cool>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Get system information/statistics in a cross-platform way"
homepage = "https://github.com/valpackett/systemstat"
readme = "README.md"
keywords = [
"System",
"Info",
]
license = "Unlicense"
repository = "https://github.com/valpackett/systemstat"
[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",
]
[features]
serde = [
"the_serde",
"bytesize/serde",
"time/serde",
]
[lib]
name = "systemstat"
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"
[target.'cfg(any(target_os = "linux", target_os = "android", target_os = "hurd"))'.dependencies.nom]
version = "7.0"
[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
"fileapi",
"sysinfoapi",
"minwindef",
"winbase",
"winerror",
"ws2def",
"ws2ipdef",
"pdh",
]