1
- [package ]
2
- name = " trin"
3
- default-run = " trin"
4
- description = " A Rust implementation of the Ethereum Portal Network"
5
- authors.workspace = true
6
- categories.workspace = true
7
- edition.workspace = true
8
- keywords.workspace = true
9
- license.workspace = true
10
- readme.workspace = true
11
- repository.workspace = true
12
- rust-version.workspace = true
13
- version.workspace = true
14
-
15
- [dependencies ]
16
- alloy = { workspace = true , features = [" eips" , " provider-ipc" , " provider-ws" , " pubsub" , " reqwest" , " rpc-types" ] }
17
- anyhow.workspace = true
18
- clap.workspace = true
19
- dirs = " 5.0.1"
20
- discv5.workspace = true
21
- e2store.workspace = true
22
- ethereum_ssz.workspace = true
23
- ethportal-api.workspace = true
24
- futures.workspace = true
25
- jsonrpsee.workspace = true
26
- lazy_static.workspace = true
27
- parking_lot.workspace = true
28
- portal-bridge.workspace = true
29
- portalnet.workspace = true
30
- prometheus_exporter.workspace = true
31
- rand.workspace = true
32
- regex = " 1.10.2"
33
- reqwest.workspace = true
34
- reth-ipc.workspace = true
35
- rpc.workspace = true
36
- serde_json = { workspace = true , features = [" preserve_order" ]}
37
- sha3.workspace = true
38
- tempfile.workspace = true
39
- tokio.workspace = true
40
- tracing.workspace = true
41
- tracing-subscriber.workspace = true
42
- tree_hash.workspace = true
43
- trin-beacon.workspace = true
44
- trin-history.workspace = true
45
- trin-state.workspace = true
46
- trin-storage.workspace = true
47
- trin-utils.workspace = true
48
- trin-validation.workspace = true
49
- url.workspace = true
50
- utp-rs.workspace = true
51
-
52
- [dev-dependencies ]
53
- ethportal-peertest = { path = " ethportal-peertest" }
54
- serde_yaml.workspace = true
55
- serial_test.workspace = true
56
- ureq.workspace = true
57
-
58
1
[workspace ]
59
2
members = [
3
+ " bin/trin" ,
60
4
" ethportal-api" ,
61
5
" ethportal-peertest" ,
62
6
" e2store" ,
@@ -75,6 +19,9 @@ members = [
75
19
" utp-testing" ,
76
20
]
77
21
22
+ default-members = [" bin/trin" ]
23
+ resolver = " 2"
24
+
78
25
[workspace .package ]
79
26
authors = [" https://github.com/ethereum/trin/graphs/contributors" ]
80
27
categories = [" cryptography::cryptocurrencies" ]
@@ -97,12 +44,10 @@ clap = { version = "4.2.1", features = ["derive"] }
97
44
delay_map = " 0.4.0"
98
45
directories = " 3.0"
99
46
discv5 = { version = " 0.4.1" , features = [" serde" ] }
100
- e2store = { path = " e2store" }
101
47
env_logger = " 0.9.0"
102
48
eth_trie = " 0.5.0"
103
49
ethereum_ssz = " 0.7.1"
104
50
ethereum_ssz_derive = " 0.7.1"
105
- ethportal-api = { path = " ethportal-api" }
106
51
futures = " 0.3.23"
107
52
futures-util = " 0.3.23"
108
53
hex = " 0.4.3"
@@ -111,10 +56,7 @@ itertools = "0.13.0"
111
56
jsonrpsee = " 0.24.4"
112
57
keccak-hash = " 0.10.0"
113
58
lazy_static = " 1.4.0"
114
- light-client = { path = " light-client" }
115
59
parking_lot = " 0.11.2"
116
- portal-bridge = { path = " portal-bridge" }
117
- portalnet = { path = " portalnet" }
118
60
prometheus_exporter = " 0.8.4"
119
61
quickcheck = " 1.0.3"
120
62
r2d2 = " 0.8.9"
@@ -124,7 +66,6 @@ reqwest = { version = "0.12.7", features = ["native-tls-vendored", "json"] }
124
66
reth-ipc = { tag = " v1.0.8" , git = " https://github.com/paradigmxyz/reth.git" }
125
67
revm = { version = " 14.0.3" , default-features = false , features = [" std" , " secp256k1" , " serde-json" , " c-kzg" ] }
126
68
revm-primitives = { version = " 10.0.0" , default-features = false , features = [" std" , " serde" ] }
127
- rpc = { path = " rpc" }
128
69
rstest = " 0.18.2"
129
70
rusqlite = { version = " 0.31.0" , features = [" bundled" ] }
130
71
scraper = " 0.18.1"
@@ -147,6 +88,19 @@ tracing-subscriber = "0.3.15"
147
88
tracing-test = " 0.1"
148
89
tree_hash = " 0.8.0"
149
90
tree_hash_derive = " 0.8.0"
91
+ uds_windows = " 1.0.1"
92
+ ureq = { version = " 2.5.0" , features = [" json" ] }
93
+ url = " 2.3.1"
94
+ utp-rs = { tag = " v0.1.0-alpha.14" , git = " https://github.com/ethereum/utp" }
95
+
96
+ # Trin workspace crates
97
+ e2store = { path = " e2store" }
98
+ ethportal-api = { path = " ethportal-api" }
99
+ light-client = { path = " light-client" }
100
+ portal-bridge = { path = " portal-bridge" }
101
+ portalnet = { path = " portalnet" }
102
+ rpc = { path = " rpc" }
103
+ trin = { path = " bin/trin" }
150
104
trin-beacon = { path = " trin-beacon" }
151
105
trin-evm = { path = " trin-evm" }
152
106
trin-execution = { path = " trin-execution" }
@@ -156,7 +110,3 @@ trin-state = { path = "trin-state" }
156
110
trin-storage = { path = " trin-storage" }
157
111
trin-utils = { path = " trin-utils" }
158
112
trin-validation = { path = " trin-validation" }
159
- uds_windows = " 1.0.1"
160
- ureq = { version = " 2.5.0" , features = [" json" ] }
161
- url = " 2.3.1"
162
- utp-rs = { tag = " v0.1.0-alpha.14" , git = " https://github.com/ethereum/utp" }
0 commit comments