# 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" rust-version = "1.65" name = "opentelemetry-prometheus" version = "0.17.0" description = "Prometheus exporter for OpenTelemetry" homepage = "https://github.com/open-telemetry/opentelemetry-rust" readme = "README.md" keywords = [ "opentelemetry", "prometheus", "metrics", "async", ] categories = [ "development-tools::debugging", "development-tools::profiling", "asynchronous", ] license = "Apache-2.0" repository = "https://github.com/open-telemetry/opentelemetry-rust" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.once_cell] version = "1.13" [dependencies.opentelemetry] version = "0.24" features = ["metrics"] default-features = false [dependencies.opentelemetry_sdk] version = "0.24" features = ["metrics"] default-features = false [dependencies.prometheus] version = "0.13" [dependencies.protobuf] version = "2.14" [dev-dependencies.http-body-util] version = "0.1" [dev-dependencies.hyper] version = "1.3" features = ["full"] default-features = false [dev-dependencies.hyper-util] version = "0.1" features = ["full"] [dev-dependencies.opentelemetry-semantic-conventions] version = "0.16" [dev-dependencies.tokio] version = "~1.38.0" features = ["full"] default-features = false [features] prometheus-encoding = []