[package]
edition = "2018"
name = "metrics-process"
version = "2.4.3"
authors = ["Alisue <lambdalisue@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform Prometheus style process metrics collector of metrics crate"
readme = "README.md"
keywords = [
"cross-platform",
"metrics",
"prometheus",
"open-metrics",
"process",
]
license = "MIT"
repository = "https://github.com/lambdalisue/rs-metrics-process"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["metrics-rs"]
dummy = []
metrics-rs = ["dep:metrics"]
use-gauge-on-cpu-seconds-total = []
[lib]
name = "metrics_process"
path = "src/lib.rs"
[dependencies.metrics]
version = "0.24.0"
optional = true
[dev-dependencies.assert_matches]
version = "1.5.0"
[dev-dependencies.axum]
version = "0.8.1"
[dev-dependencies.metrics-exporter-prometheus]
version = "0.18.1"
[dev-dependencies.tokio]
version = "1.20.1"
features = ["full"]
[target.'cfg(target_os = "freebsd")'.dependencies.libc]
version = "0.2.159"
[target.'cfg(target_os = "linux")'.dependencies.once_cell]
version = "1.13.1"
[target.'cfg(target_os = "linux")'.dependencies.procfs]
version = "0.18.0"
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.libproc]
version = "0.14.2"
[target.'cfg(target_os = "macos")'.dependencies.mach2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.once_cell]
version = "1.13.1"
[target.'cfg(target_os = "macos")'.dependencies.rlimit]
version = "0.11.0"
[target.'cfg(target_os = "openbsd")'.dependencies.libc]
version = "0.2.159"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62.1"
features = [
"Win32_Foundation",
"Win32_System_Threading",
"Win32_System_ProcessStatus",
]