# 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 = "prometheus-serve-metrics" version = "0.1.4" authors = ["Scott Williams "] description = "captures opentelemetry metrics for prometheus and serves those metrics on a simple http server" license = "MIT" repository = "https://github.com/uberscott/prometheus-serve-metrics" resolver = "2" [dependencies.anyhow] version = "1.0" [dependencies.hyper] version = "0.14" features = [ "server", "tcp", "http2", "http1", ] [dependencies.opentelemetry] version = "0.17.0" [dependencies.opentelemetry-prometheus] version = "0.10.0" [dependencies.prometheus] version = "0.13.0" [dependencies.tokio] version = "1.8" features = [ "macros", "rt-multi-thread", ] [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.2" features = [ "env-filter", "json", ]