mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-06 10:11:44 +00:00
This reverts some of the changes from #8524 by adding back the typed network endpoints with an optional `network` feature. Without the `network` feature, these endpoints (and associated dependencies) will not be built. This means the `enr`, `multiaddr` and `libp2p-identity` dependencies have returned but are now optional Co-Authored-By: Mac L <mjladson@pm.me>
44 lines
1.5 KiB
TOML
44 lines
1.5 KiB
TOML
[package]
|
|
name = "eth2"
|
|
version = "0.1.0"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
|
edition = { workspace = true }
|
|
|
|
[features]
|
|
default = []
|
|
lighthouse = ["proto_array", "eth2_keystore", "eip_3076", "zeroize"]
|
|
events = ["reqwest-eventsource", "futures", "futures-util"]
|
|
network = ["libp2p-identity", "enr", "multiaddr"]
|
|
|
|
[dependencies]
|
|
bls = { workspace = true }
|
|
context_deserialize = { workspace = true }
|
|
educe = { workspace = true }
|
|
eip_3076 = { workspace = true, optional = true }
|
|
enr = { version = "0.13.0", features = ["ed25519"], optional = true }
|
|
eth2_keystore = { workspace = true, optional = true }
|
|
ethereum_serde_utils = { workspace = true }
|
|
ethereum_ssz = { workspace = true }
|
|
ethereum_ssz_derive = { workspace = true }
|
|
futures = { workspace = true, optional = true }
|
|
futures-util = { version = "0.3.8", optional = true }
|
|
libp2p-identity = { version = "0.2", features = ["peerid"], optional = true }
|
|
mediatype = "0.19.13"
|
|
multiaddr = { version = "0.18.2", optional = true }
|
|
pretty_reqwest_error = { workspace = true }
|
|
proto_array = { workspace = true, optional = true }
|
|
reqwest = { workspace = true }
|
|
reqwest-eventsource = { version = "0.6.0", optional = true }
|
|
sensitive_url = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
ssz_types = { workspace = true }
|
|
superstruct = { workspace = true }
|
|
types = { workspace = true }
|
|
zeroize = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
rand = { workspace = true }
|
|
test_random_derive = { path = "../../common/test_random_derive" }
|
|
tokio = { workspace = true }
|