# 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-metrics" version = "0.1.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Minimalist exporter-agnostic metrics instrumentation middleware for axum" readme = "README.md" keywords = [ "axum", "metrics", "prometheus", ] categories = [ "development-tools::debugging", "network-programming", "web-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/oxalica/axum-metrics" [lib] name = "axum_metrics" path = "src/lib.rs" [dependencies.axum] version = "0.7" features = ["matched-path"] default-features = false [dependencies.bytes] version = "1" [dependencies.http-body] version = "1" [dependencies.metrics] version = "0.24" [dependencies.pin-project-lite] version = "0.2" [dependencies.tower-layer] version = "0.3" [dependencies.tower-service] version = "0.3" [dev-dependencies.axum] version = "0.7" [dev-dependencies.metrics-exporter-prometheus] version = "0.16.0" [dev-dependencies.tokio] version = "1.40.0" features = [ "rt-multi-thread", "macros", ]