# 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 = "2021" name = "metrics-dashboard" version = "0.3.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Zero-config dashboard with metrics-rs" readme = "README.md" license = "MIT" repository = "https://github.com/giangndm/metrics-dashboard-rs" [lib] name = "metrics_dashboard" path = "src/lib.rs" [[example]] name = "simple" path = "examples/simple.rs" [dependencies.async-trait] version = "0.1" [dependencies.metrics] version = "0.22" [dependencies.metrics-prometheus] version = "0.6" [dependencies.metrics-util] version = "0.16" [dependencies.parking_lot] version = "0.12" [dependencies.poem] version = "2.0" features = [ "embed", "static-files", ] [dependencies.prometheus] version = "0.13" [dependencies.rust-embed] version = "8.2" optional = true [dependencies.serde] version = "1" [dependencies.sysinfo] version = "0.30" optional = true [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tracing-subscriber] version = "0.3" [features] default = ["embed"] embed = ["rust-embed"] system = ["sysinfo"]