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-11-28 05:30:57 +00:00
|
|
|
discv5 = { version = "0.1.0-beta.2", features = ["libp2p"] }
|
|
|
|
unsigned-varint = { git = "https://github.com/sigp/unsigned-varint", branch = "dep-update", features = ["codec"] }
|
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-10-05 08:22:19 +00:00
|
|
|
serde = { version = "1.0.116", features = ["derive"] }
|
|
|
|
serde_derive = "1.0.116"
|
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-11-28 05:30:57 +00:00
|
|
|
tokio = { version = "0.3.2", features = ["time", "macros"] }
|
|
|
|
futures = "0.3.7"
|
2020-10-05 08:22:19 +00:00
|
|
|
error-chain = "0.12.4"
|
|
|
|
dirs = "3.0.1"
|
2020-05-26 20:34:15 +00:00
|
|
|
fnv = "1.0.7"
|
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-10-05 08:22:19 +00:00
|
|
|
smallvec = "1.4.2"
|
2020-11-28 05:30:57 +00:00
|
|
|
tokio-io-timeout = "0.5.0"
|
2020-10-05 08:22:19 +00:00
|
|
|
lru = "0.6.0"
|
2020-07-06 01:55:56 +00:00
|
|
|
parking_lot = "0.11.0"
|
|
|
|
sha2 = "0.9.1"
|
2020-10-05 08:22:19 +00:00
|
|
|
base64 = "0.13.0"
|
|
|
|
snap = "1.0.1"
|
2020-04-19 10:45:25 +00:00
|
|
|
void = "1.0.2"
|
2020-10-05 07:45:54 +00:00
|
|
|
hex = "0.4.2"
|
2020-11-28 05:30:57 +00:00
|
|
|
tokio-util = { version = "0.4.0", features = ["codec", "compat"] }
|
2020-05-17 11:16:48 +00:00
|
|
|
tiny-keccak = "2.0.2"
|
2020-10-05 07:45:54 +00:00
|
|
|
task_executor = { path = "../../common/task_executor" }
|
2020-07-23 03:55:36 +00:00
|
|
|
rand = "0.7.3"
|
2020-09-29 00:02:44 +00:00
|
|
|
directory = { path = "../../common/directory" }
|
2020-09-10 04:43:22 +00:00
|
|
|
regex = "1.3.9"
|
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-11-28 05:30:57 +00:00
|
|
|
rev = "e3caf9e0e5e78c9d51c6dccf0d6277cef553bb25"
|
2020-05-17 11:16:48 +00:00
|
|
|
default-features = false
|
2020-11-06 04:14:14 +00:00
|
|
|
features = ["websocket", "identify", "mplex", "yamux", "noise", "gossipsub", "dns", "tcp-tokio"]
|
2019-11-27 01:47:46 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-11-28 05:30:57 +00:00
|
|
|
tokio = { version = "0.3.2", features = ["full"] }
|
2020-10-05 08:22:19 +00:00
|
|
|
slog-term = "2.6.0"
|
2020-05-17 11:16:48 +00:00
|
|
|
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 = []
|