[package]
edition = "2024"
name = "simple-process-stats"
version = "2.0.0"
authors = ["Ruben Anders <ruben.anders@robotty.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Get memory usage and CPU time on Linux and Windows"
readme = "README.md"
keywords = [
"process",
"cpu",
"memory",
]
categories = [
"api-bindings",
"os",
]
license = "MIT"
repository = "https://github.com/robotty/simple-process-stats"
[lib]
name = "simple_process_stats"
path = "src/lib.rs"
[dependencies.thiserror]
version = "2"
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "linux")'.dependencies.procfs]
version = "0.18"
[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.libproc]
version = "0.14"
[target.'cfg(target_os = "windows")'.dependencies.winapi]
version = "0.3"
features = [
"psapi",
"processthreadsapi",
]