# 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 = "tokio-metrics-collector" version = "0.2.3" authors = ["Hanaasagi "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Provides utilities for collecting Prometheus-compatible metrics from Tokio runtime and tasks. """ readme = "README.md" keywords = [ "metrics", "tokio", "prometheus", ] categories = ["development-tools"] license = "MIT OR Apache-2.0" repository = "https://github.com/Hanaasagi/tokio-metrics-collector" [package.metadata.docs.rs] all-features = true rustc-args = [ "--cfg", "tokio_unstable", ] rustdoc-args = [ "--cfg", "docsrs", "--cfg", "tokio_unstable", ] [lib] name = "tokio_metrics_collector" path = "src/lib.rs" [[example]] name = "server" path = "examples/server.rs" [dependencies.lazy_static] version = "1.5.0" [dependencies.parking_lot] version = "0.12.3" [dependencies.prometheus] version = "0.13.4" [dependencies.tokio] version = "1.39.2" features = ["rt"] optional = true [dependencies.tokio-metrics] version = "0.3.1" [dev-dependencies.axum] version = "0.7" [dev-dependencies.tokio] version = "1.39.2" features = [ "rt", "macros", "rt-multi-thread", ] [dev-dependencies.tracing-subscriber] version = "0.3.18" [features] default = ["rt"] rt = ["tokio"]