042e80570c
* Add logging on shutdown * Replace tokio::spawn with handle.spawn * Upgrade tokio * Add a task executor * Beacon chain tasks use task executor * Validator client tasks use task executor * Rename runtime_handle to executor * Add duration histograms; minor fixes * Cleanup * Fix logs * Fix tests * Remove random file * Get enr dependency instead of libp2p * Address some review comments * Libp2p takes a TaskExecutor * Ugly fix libp2p tests * Move TaskExecutor to own file * Upgrade Dockerfile rust version * Minor fixes * Revert "Ugly fix libp2p tests" This reverts commit 58d4bb690f52de28d893943b7504d2d0c6621429. * Pretty fix libp2p tests * Add spawn_without_exit; change Counter to Gauge * Tidy * Move log from RuntimeContext to TaskExecutor * Fix errors * Replace histogram with int_gauge for async tasks * Fix todo * Fix memory leak in test by exiting all spawned tasks at the end
44 lines
1.3 KiB
TOML
44 lines
1.3 KiB
TOML
[package]
|
|
name = "beacon_node"
|
|
version = "0.1.2"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>", "Age Manning <Age@AgeManning.com"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
name = "beacon_node"
|
|
path = "src/lib.rs"
|
|
|
|
[dev-dependencies]
|
|
node_test_rig = { path = "../testing/node_test_rig" }
|
|
|
|
[features]
|
|
write_ssz_files = ["beacon_chain/write_ssz_files"] # Writes debugging .ssz files to /tmp during block processing.
|
|
|
|
[dependencies]
|
|
eth2_config = { path = "../common/eth2_config" }
|
|
beacon_chain = { path = "beacon_chain" }
|
|
types = { path = "../consensus/types" }
|
|
store = { path = "./store" }
|
|
client = { path = "client" }
|
|
version = { path = "version" }
|
|
clap = "2.33.0"
|
|
rand = "0.7.3"
|
|
slog = { version = "2.5.2", features = ["max_level_trace", "release_max_level_trace"] }
|
|
slog-term = "2.5.0"
|
|
slog-async = "2.5.0"
|
|
ctrlc = { version = "3.1.4", features = ["termination"] }
|
|
tokio = { version = "0.2.21", features = ["time"] }
|
|
exit-future = "0.2.0"
|
|
env_logger = "0.7.1"
|
|
dirs = "2.0.2"
|
|
logging = { path = "../common/logging" }
|
|
futures = "0.3.5"
|
|
environment = { path = "../lighthouse/environment" }
|
|
genesis = { path = "genesis" }
|
|
eth2_testnet_config = { path = "../common/eth2_testnet_config" }
|
|
eth2-libp2p = { path = "./eth2-libp2p" }
|
|
eth2_ssz = "0.1.2"
|
|
toml = "0.5.6"
|
|
serde = "1.0.110"
|
|
clap_utils = { path = "../common/clap_utils" }
|