simple-process-stats 2.0.0

Get memory usage and CPU time on Linux and Windows
Documentation
[package]

name = "simple-process-stats"

description = "Get memory usage and CPU time on Linux and Windows"

license = "MIT"

version = "2.0.0"

keywords = ["process", "cpu", "memory"]

categories = ["api-bindings", "os"]

repository = "https://github.com/robotty/simple-process-stats"

readme = "README.md"

authors = ["Ruben Anders <ruben.anders@robotty.de>"]

edition = "2024"



# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html



[dependencies]

thiserror = "2"



[target.'cfg(target_os = "windows")'.dependencies]

winapi = { version = "0.3", features = ["psapi", "processthreadsapi"] }



[target.'cfg(target_os = "linux")'.dependencies]

procfs = "0.18"

libc = "0.2"



[target.'cfg(target_os = "macos")'.dependencies]

libproc = "0.14"

libc = "0.2"