# 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 = "axum-otel-metrics" version = "0.9.0-alpha.2" build = false exclude = [ ".github/*", "examples/*", "tests/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "axum OpenTelemetry metrics middleware with prometheus exporter" homepage = "https://ttys3.dev/" documentation = "https://docs.rs/axum-otel-metrics" readme = "README.md" license = "MIT" repository = "https://github.com/ttys3/axum-otel-metrics/" [lib] name = "axum_otel_metrics" path = "src/lib.rs" [dependencies.axum] version = "0.7" [dependencies.futures-util] version = "0.3.30" [dependencies.http] version = "1.1.0" [dependencies.http-body] version = "1.0.1" [dependencies.opentelemetry] version = "0.24" features = ["metrics"] [dependencies.opentelemetry-http] version = "0.13.0" [dependencies.opentelemetry-otlp] version = "0.17.0" features = [ "metrics", "http-proto", "reqwest-client", ] [dependencies.opentelemetry-prometheus] version = "0.17.0" features = ["prometheus-encoding"] [dependencies.opentelemetry-semantic-conventions] version = "0.16.0" [dependencies.opentelemetry_sdk] version = "0.24.1" features = ["rt-tokio"] [dependencies.pin-project-lite] version = "0.2.14" [dependencies.prometheus] version = "0.13.4" [dependencies.tower] version = "0.4.13" [dev-dependencies.tokio] version = "1.39.2" features = ["macros"]