2019-03-04 05:39:37 +00:00
|
|
|
[package]
|
2020-06-19 04:13:23 +00:00
|
|
|
name = "eth2_libp2p"
|
2020-08-06 03:43:05 +00:00
|
|
|
version = "0.2.0"
|
2020-08-04 02:31:41 +00:00
|
|
|
authors = ["Sigma Prime <contact@sigmaprime.io>"]
|
2019-03-04 05:39:37 +00:00
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[dependencies]
|
2020-05-17 11:16:48 +00:00
|
|
|
hex = "0.4.2"
|
2020-05-18 11:24:23 +00:00
|
|
|
types = { path = "../../consensus/types" }
|
|
|
|
hashset_delay = { path = "../../common/hashset_delay" }
|
|
|
|
eth2_ssz_types = { path = "../../consensus/ssz_types" }
|
2020-05-17 11:16:48 +00:00
|
|
|
serde = { version = "1.0.110", features = ["derive"] }
|
|
|
|
serde_derive = "1.0.110"
|
2019-10-30 01:22:18 +00:00
|
|
|
eth2_ssz = "0.1.2"
|
|
|
|
eth2_ssz_derive = "0.1.0"
|
|
|
|
slog = { version = "2.5.2", features = ["max_level_trace"] }
|
2020-08-04 07:44:53 +00:00
|
|
|
lighthouse_version = { path = "../../common/lighthouse_version" }
|
2020-05-28 13:18:25 +00:00
|
|
|
tokio = { version = "0.2.21", features = ["time", "macros"] }
|
2020-05-17 11:16:48 +00:00
|
|
|
futures = "0.3.5"
|
|
|
|
error-chain = "0.12.2"
|
2019-10-30 01:22:18 +00:00
|
|
|
dirs = "2.0.2"
|
2020-05-26 20:34:15 +00:00
|
|
|
fnv = "1.0.7"
|
2020-05-17 11:16:48 +00:00
|
|
|
unsigned-varint = { git = "https://github.com/sigp/unsigned-varint", branch = "latest-codecs", features = ["codec"] }
|
2019-10-30 01:22:18 +00:00
|
|
|
lazy_static = "1.4.0"
|
2020-05-18 11:24:23 +00:00
|
|
|
lighthouse_metrics = { path = "../../common/lighthouse_metrics" }
|
2020-07-07 06:57:27 +00:00
|
|
|
smallvec = "1.4.1"
|
2020-06-06 06:39:42 +00:00
|
|
|
lru = "0.5.1"
|
2020-07-06 01:55:56 +00:00
|
|
|
parking_lot = "0.11.0"
|
|
|
|
sha2 = "0.9.1"
|
2020-05-17 11:16:48 +00:00
|
|
|
base64 = "0.12.1"
|
|
|
|
snap = "1.0.0"
|
2020-04-19 10:45:25 +00:00
|
|
|
void = "1.0.2"
|
2020-05-17 11:16:48 +00:00
|
|
|
tokio-io-timeout = "0.4.0"
|
|
|
|
tokio-util = { version = "0.3.1", features = ["codec", "compat"] }
|
2020-08-17 10:06:08 +00:00
|
|
|
discv5 = { version = "0.1.0-alpha.8", features = ["libp2p", "openssl-vendored"] }
|
2020-05-17 11:16:48 +00:00
|
|
|
tiny-keccak = "2.0.2"
|
2020-06-04 11:48:05 +00:00
|
|
|
environment = { path = "../../lighthouse/environment" }
|
2020-07-23 03:55:36 +00:00
|
|
|
# TODO: Remove rand crate for mainnet
|
|
|
|
rand = "0.7.3"
|
2020-05-17 11:16:48 +00:00
|
|
|
|
|
|
|
[dependencies.libp2p]
|
2020-08-08 02:17:32 +00:00
|
|
|
#version = "0.23.0"
|
2020-06-29 10:25:42 +00:00
|
|
|
git = "https://github.com/sigp/rust-libp2p"
|
2020-08-17 01:27:33 +00:00
|
|
|
rev = "bbf0cfbaff2f733b3ae7bfed3caba8b7ee542803"
|
2020-05-17 11:16:48 +00:00
|
|
|
default-features = false
|
2020-08-17 05:05:06 +00:00
|
|
|
features = ["websocket", "identify", "mplex", "noise", "gossipsub", "dns", "tcp-tokio"]
|
2019-11-27 01:47:46 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-05-26 20:34:15 +00:00
|
|
|
tokio = { version = "0.2.21", features = ["full"] }
|
2019-11-27 01:47:46 +00:00
|
|
|
slog-stdlog = "4.0.0"
|
2020-05-17 11:16:48 +00:00
|
|
|
slog-term = "2.5.0"
|
|
|
|
slog-async = "2.5.0"
|
|
|
|
tempdir = "0.3.7"
|
2020-06-06 06:39:42 +00:00
|
|
|
exit-future = "0.2.0"
|
2020-06-18 07:42:42 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
libp2p-websocket = []
|