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]
|
2021-02-10 23:29:49 +00:00
|
|
|
discv5 = { version = "0.1.0-beta.3", features = ["libp2p"] }
|
|
|
|
unsigned-varint = { version = "0.6.0", 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" }
|
2021-02-10 23:29:49 +00:00
|
|
|
tokio = { version = "1.1.0", features = ["time", "macros"] }
|
2020-11-28 05:30:57 +00:00
|
|
|
futures = "0.3.7"
|
2021-02-10 23:29:49 +00:00
|
|
|
futures-io = "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" }
|
2021-01-11 23:32:11 +00:00
|
|
|
smallvec = "1.6.1"
|
2021-02-10 23:29:49 +00:00
|
|
|
tokio-io-timeout = "1.1.1"
|
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"
|
2021-02-10 23:29:49 +00:00
|
|
|
tokio-util = { version = "0.6.2", features = ["codec", "compat", "time"] }
|
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"
|
2021-01-19 06:33:58 +00:00
|
|
|
strum = { version = "0.20", features = ["derive"] }
|
2020-05-17 11:16:48 +00:00
|
|
|
|
|
|
|
[dependencies.libp2p]
|
2021-02-10 23:29:49 +00:00
|
|
|
version = "0.34.0"
|
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]
|
2021-02-10 23:29:49 +00:00
|
|
|
tokio = { version = "1.1.0", 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"
|
2021-01-06 06:36:11 +00:00
|
|
|
tempfile = "3.1.0"
|
2020-06-06 06:39:42 +00:00
|
|
|
exit-future = "0.2.0"
|
2020-06-18 07:42:42 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
libp2p-websocket = []
|