[package] description = "Endpoint to expose Prometheus metrics" name = "substrate-prometheus-endpoint" version = "0.17.0" license = "Apache-2.0" authors.workspace = true edition.workspace = true homepage = "https://substrate.io" repository.workspace = true readme = "README.md" [lints] workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] [dependencies] hyper = { version = "0.14.16", default-features = false, features = ["http1", "server", "tcp"] } log = "0.4.17" prometheus = { version = "0.13.0", default-features = false } thiserror = "1.0" tokio = { version = "1.22.0", features = ["parking_lot"] } [dev-dependencies] hyper = { version = "0.14.16", features = ["client"] } tokio = { version = "1.22.0", features = ["rt-multi-thread"] }