# 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" rust-version = "1.71.1" name = "metrics-exporter-prometheus" version = "0.16.0" authors = ["Toby Lawrence "] description = "A metrics-compatible exporter for sending metrics to Prometheus." homepage = "https://github.com/metrics-rs/metrics" documentation = "https://docs.rs/metrics-exporter-prometheus" readme = "README.md" keywords = [ "metrics", "telemetry", "prometheus", ] categories = ["development-tools::debugging"] license = "MIT" repository = "https://github.com/metrics-rs/metrics" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "prometheus_push_gateway" required-features = ["push-gateway"] [[example]] name = "prometheus_server" required-features = ["http-listener"] [[example]] name = "prometheus_uds_server" required-features = ["uds-listener"] [dependencies.base64] version = "0.22" features = ["std"] default-features = false [dependencies.http-body-util] version = "0.1" optional = true default-features = false [dependencies.hyper] version = "1.1" features = [ "server", "client", ] optional = true default-features = false [dependencies.hyper-rustls] version = "0.27" features = [ "aws-lc-rs", "http1", "rustls-native-certs", ] optional = true default-features = false [dependencies.hyper-util] version = "0.1" features = [ "tokio", "service", "client", "client-legacy", "http1", ] optional = true default-features = false [dependencies.indexmap] version = "2.6" features = ["std"] default-features = false [dependencies.ipnet] version = "2" features = ["std"] optional = true default-features = false [dependencies.metrics] version = "^0.24" [dependencies.metrics-util] version = "^0.18" features = [ "recency", "registry", "summary", ] default-features = false [dependencies.quanta] version = "0.12" default-features = false [dependencies.thiserror] version = "1" default-features = false [dependencies.tokio] version = "1" features = [ "rt", "net", "time", "rt-multi-thread", ] optional = true default-features = false [dependencies.tracing] version = "0.1" optional = true default-features = false [dev-dependencies.proptest] version = "1" features = ["std"] default-features = false [dev-dependencies.rand] version = "0.8" features = [ "std", "std_rng", ] default-features = false [dev-dependencies.tracing] version = "0.1" default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" features = ["fmt"] default-features = false [features] _hyper-client = [ "http-body-util", "hyper/client", "hyper-util/client", "hyper-util/http1", "hyper-util/client-legacy", "hyper-rustls", ] _hyper-server = [ "http-body-util", "hyper/server", "hyper-util/server-auto", ] async-runtime = [ "tokio", "hyper-util/tokio", ] default = [ "http-listener", "push-gateway", ] http-listener = [ "async-runtime", "ipnet", "tracing", "_hyper-server", ] push-gateway = [ "async-runtime", "tracing", "_hyper-client", ] uds-listener = ["http-listener"]