[package]
description = "Endpoint to expose Prometheus metrics"
name = "substrate-prometheus-endpoint"
version = "0.10.0-dev"
license = "Apache-2.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
readme = "README.md"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
log = "0.4.8"
prometheus = { version = "0.13.0", default-features = false }
futures-util = { version = "0.3.19", default-features = false, features = ["io"] }
thiserror = "1.0"
async-std = { version = "1.10.0", features = ["unstable"] }
tokio = "1.15"
hyper = { version = "0.14.16", default-features = false, features = ["http1", "server", "tcp"] }

[dev-dependencies]
hyper = { version = "0.14.16", features = ["client"] }
tokio = { version = "1.15", features = ["rt-multi-thread"] }
