mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 09:57:56 +00:00
be8e626806
We currently use a bit of a hack in `.cargo/config` to make sure that clippy isn't too annoying by specifying the list of lints. There is now a stable way to define lints for a workspace. The only down side is that every crate seems to have to opt into this so there's a *few* files modified in this PR. Dependencies: - [x] PR that upgrades CI to use rust 1.74 is merged. --------- Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Branislav Kontur <bkontur@gmail.com> Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
28 lines
780 B
TOML
28 lines
780 B
TOML
[package]
|
|
description = "Endpoint to expose Prometheus metrics"
|
|
name = "substrate-prometheus-endpoint"
|
|
version = "0.10.0-dev"
|
|
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"] }
|