|
5 | 5 | edition = { workspace = true } |
6 | 6 |
|
7 | 7 | [features] |
8 | | -default = ["lighthouse"] |
9 | | -lighthouse = [] |
| 8 | +default = [] |
| 9 | +lighthouse = ["proto_array", "eth2_keystore", "eip_3076", "zeroize"] |
| 10 | +events = ["reqwest-eventsource", "futures", "futures-util"] |
10 | 11 |
|
11 | 12 | [dependencies] |
12 | 13 | context_deserialize = { workspace = true } |
13 | 14 | educe = { workspace = true } |
14 | | -eip_3076 = { workspace = true } |
15 | | -either = { workspace = true } |
16 | | -enr = { version = "0.13.0", features = ["ed25519"] } |
17 | | -eth2_keystore = { workspace = true } |
| 15 | +eip_3076 = { workspace = true, optional = true } |
| 16 | +eth2_keystore = { workspace = true, optional = true } |
18 | 17 | ethereum_serde_utils = { workspace = true } |
19 | 18 | ethereum_ssz = { workspace = true } |
20 | 19 | ethereum_ssz_derive = { workspace = true } |
21 | | -futures = { workspace = true } |
22 | | -futures-util = "0.3.8" |
23 | | -libp2p-identity = { version = "0.2", features = ["peerid"] } |
| 20 | +futures = { workspace = true, optional = true } |
| 21 | +futures-util = { version = "0.3.8", optional = true } |
24 | 22 | mediatype = "0.19.13" |
25 | | -multiaddr = "0.18.2" |
26 | 23 | pretty_reqwest_error = { workspace = true } |
27 | | -proto_array = { workspace = true } |
28 | | -rand = { workspace = true } |
| 24 | +proto_array = { workspace = true, optional = true } |
29 | 25 | reqwest = { workspace = true } |
30 | | -reqwest-eventsource = "0.6.0" |
| 26 | +reqwest-eventsource = { version = "0.6.0", optional = true } |
31 | 27 | sensitive_url = { workspace = true } |
32 | 28 | serde = { workspace = true } |
33 | 29 | serde_json = { workspace = true } |
34 | 30 | ssz_types = { workspace = true } |
35 | | -test_random_derive = { path = "../../common/test_random_derive" } |
36 | 31 | types = { workspace = true } |
37 | | -zeroize = { workspace = true } |
| 32 | +zeroize = { workspace = true, optional = true } |
38 | 33 |
|
39 | 34 | [dev-dependencies] |
| 35 | +rand = { workspace = true } |
| 36 | +test_random_derive = { path = "../../common/test_random_derive" } |
40 | 37 | tokio = { workspace = true } |
0 commit comments