mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 19:17:58 +00:00
598c6676ae
* Fix prometheus after hyper 14 upgrade * Fix stupid mistakes * Use 127.0.0.1 * Update utils/prometheus/Cargo.toml Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com> Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
29 lines
951 B
TOML
29 lines
951 B
TOML
[package]
|
|
description = "Endpoint to expose Prometheus metrics"
|
|
name = "substrate-prometheus-endpoint"
|
|
version = "0.9.0"
|
|
license = "Apache-2.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
homepage = "https://substrate.dev"
|
|
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.11.0", default-features = false }
|
|
futures-util = { version = "0.3.1", default-features = false, features = ["io"] }
|
|
derive_more = "0.99"
|
|
|
|
[target.'cfg(not(target_os = "unknown"))'.dependencies]
|
|
async-std = { version = "1.6.5", features = ["unstable"] }
|
|
tokio = "1.10"
|
|
hyper = { version = "0.14.11", default-features = false, features = ["http1", "server", "tcp"] }
|
|
|
|
[dev-dependencies]
|
|
hyper = { version = "0.14.11", features = ["client"] }
|
|
tokio = { version = "1.10", features = ["rt-multi-thread"] }
|