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