# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "metrics-process" version = "2.4.0" authors = ["Alisue "] build = 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 [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.7.2" [dev-dependencies.metrics-exporter-prometheus] version = "0.16.0" [dev-dependencies.tokio] version = "1.20.1" features = ["full"] [features] default = ["metrics-rs"] dummy = [] metrics-rs = ["dep:metrics"] use-gauge-on-cpu-seconds-total = [] [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.17.0" default-features = false [target.'cfg(target_os = "macos")'.dependencies.libproc] version = "0.14.2" [target.'cfg(target_os = "macos")'.dependencies.mach2] version = "0.4" [target.'cfg(target_os = "macos")'.dependencies.once_cell] version = "1.13.1" [target.'cfg(target_os = "macos")'.dependencies.rlimit] version = "0.10.0" [target.'cfg(target_os = "openbsd")'.dependencies.libc] version = "0.2.159" [target.'cfg(target_os = "windows")'.dependencies.windows] version = "0.58.0" features = [ "Win32_Foundation", "Win32_System_Threading", "Win32_System_ProcessStatus", ]