f8cc82f2b1
## Issue Addressed - Resolves #2204 - Resolves #2205 ## Proposed Changes Switches to my fork of `warp` which contains support for cors wildcards: https://github.com/paulhauner/warp/tree/cors-wildcard I have a PR open on the `warp` repo but it hasn't had any interest from the maintainers as of yet: https://github.com/seanmonstar/warp/pull/726. I think running from a fork is the best we can do for now. ## Additional Info NA
29 lines
1.0 KiB
TOML
29 lines
1.0 KiB
TOML
[package]
|
|
name = "http_metrics"
|
|
version = "0.1.0"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
prometheus = "0.11.0"
|
|
warp = { git = "https://github.com/paulhauner/warp ", branch = "cors-wildcard" }
|
|
serde = { version = "1.0.116", features = ["derive"] }
|
|
slog = "2.5.2"
|
|
beacon_chain = { path = "../beacon_chain" }
|
|
store = { path = "../store" }
|
|
eth2_libp2p = { path = "../eth2_libp2p" }
|
|
slot_clock = { path = "../../common/slot_clock" }
|
|
lighthouse_metrics = { path = "../../common/lighthouse_metrics" }
|
|
lazy_static = "1.4.0"
|
|
eth2 = { path = "../../common/eth2" }
|
|
lighthouse_version = { path = "../../common/lighthouse_version" }
|
|
warp_utils = { path = "../../common/warp_utils" }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.1.0", features = ["sync"] }
|
|
reqwest = { version = "0.11.0", features = ["json"] }
|
|
environment = { path = "../../lighthouse/environment" }
|
|
types = { path = "../../consensus/types" }
|