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
19 lines
495 B
TOML
19 lines
495 B
TOML
[package]
|
|
name = "websocket_server"
|
|
version = "0.1.2"
|
|
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]
|
|
futures = "0.3.5"
|
|
serde = "1.0.110"
|
|
serde_derive = "1.0.110"
|
|
serde_json = "1.0.52"
|
|
slog = "2.5.2"
|
|
tokio = { version = "0.2.21", features = ["full"] }
|
|
types = { path = "../../consensus/types" }
|
|
ws = "0.9.1"
|
|
environment = { path = "../../lighthouse/environment" }
|