[package] name = "http_api" version = "0.1.0" authors = ["Paul Hauner "] edition = "2018" autotests = false # using a single test binary compiles faster [dependencies] warp = { git = "https://github.com/paulhauner/warp ", branch = "cors-wildcard" } serde = { version = "1.0.116", features = ["derive"] } tokio = { version = "1.10.0", features = ["macros","sync"] } tokio-stream = { version = "0.1.3", features = ["sync"] } tokio-util = "0.6.3" parking_lot = "0.11.0" types = { path = "../../consensus/types" } hex = "0.4.2" beacon_chain = { path = "../beacon_chain" } eth2 = { path = "../../common/eth2", features = ["lighthouse"] } slog = "2.5.2" network = { path = "../network" } eth2_libp2p = { path = "../eth2_libp2p" } eth1 = { path = "../eth1" } fork_choice = { path = "../../consensus/fork_choice" } state_processing = { path = "../../consensus/state_processing" } lighthouse_version = { path = "../../common/lighthouse_version" } lighthouse_metrics = { path = "../../common/lighthouse_metrics" } lazy_static = "1.4.0" warp_utils = { path = "../../common/warp_utils" } slot_clock = { path = "../../common/slot_clock" } eth2_ssz = { path = "../../consensus/ssz" } bs58 = "0.4.0" futures = "0.3.8" [dev-dependencies] store = { path = "../store" } environment = { path = "../../lighthouse/environment" } tree_hash = "0.1.1" sensitive_url = { path = "../../common/sensitive_url" } [[test]] name = "bn_http_api_tests" path = "tests/main.rs"