forked from a16z/helios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
171 lines (143 loc) · 3.53 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
[package]
name = "helios"
version = "0.7.0"
edition = "2021"
autobenches = false
exclude = ["benches"]
[workspace]
members = [
"cli",
"core",
"ethereum",
"ethereum/consensus-core",
"opstack",
"helios-ts",
]
default-members = ["cli"]
######################################
# Workspace Dependencies
######################################
[workspace.dependencies]
# consensus
ssz_types = "0.7.0"
ethereum_ssz_derive = "0.6.0"
ethereum_ssz = "0.6.0"
tree_hash_derive = "0.7.0"
tree_hash = "0.7.0"
sha2 = "0.9"
bls12_381 = { version = "0.8.0", features = ["experimental"] }
# execution
alloy = { version = "0.2.1", features = [
"rpc-types",
"consensus",
"rlp",
"k256",
"provider-http",
"sol-types",
"network",
"ssz",
"json-rpc",
"signers",
]}
revm = { version = "12.1.0", default-features = false, features = [
"std",
"serde",
"optional_block_gas_limit",
"optional_eip3607",
"optional_no_base_fee",
]}
triehash-ethereum = { git = "https://github.com/openethereum/parity-ethereum", rev = "55c90d4016505317034e3e98f699af07f5404b63" }
# async/futures
async-trait = "0.1.57"
futures = "0.3.23"
tokio = { version = "1", features = ["rt", "sync", "macros"] }
# io
reqwest = { version = "0.12.4", features = ["json"] }
url = { version = "2.5.2", features = ["serde"] }
serde = { version = "1.0.143", features = ["derive"] }
serde_json = "1.0.85"
# misc
eyre = "0.6.8"
hex = "0.4.3"
toml = "0.5.9"
tracing = "0.1.37"
chrono = "0.4.23"
thiserror = "1.0.37"
superstruct = "0.7.0"
openssl = { version = "0.10", features = ["vendored"] }
zduny-wasm-timer = "0.2.8"
retri = "0.1.0"
typenum = "1.17.0"
######################################
# Top Level Dependencies
######################################
[dependencies]
helios-core = { path = "./core" }
helios-ethereum = { path = "./ethereum" }
helios-opstack = { path = "./opstack" }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
dotenv = "0.15.0"
serde = { version = "1.0.154", features = ["derive"] }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
alloy = { version = "0.2.1", features = ["full"] }
tokio = { version = "1", features = ["full"] }
eyre = "0.6.8"
dirs = "5.0.1"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
tracing = "0.1.37"
tracing-test = "0.2.4"
criterion = { version = "0.5.1", features = ["async_tokio", "plotters"] }
plotters = "0.3.4"
tempfile = "3.4.0"
hex = "0.4.3"
pretty_assertions = "1.4.0"
rand = "0.8.5"
######################################
# Dependency Patches
######################################
[patch.crates-io]
ethereum_hashing = { git = "https://github.com/ncitron/ethereum_hashing", rev = "7ee70944ed4fabe301551da8c447e4f4ae5e6c35" }
######################################
# Profiles
######################################
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
[profile.bench]
debug = true
######################################
# Examples
######################################
[[example]]
name = "checkpoints"
path = "examples/checkpoints.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "client"
path = "examples/client.rs"
[[example]]
name = "config"
path = "examples/config.rs"
[[example]]
name = "call"
path = "examples/call.rs"
######################################
# Benchmarks
######################################
[[bench]]
name = "file_db"
harness = false
[[bench]]
name = "get_balance"
harness = false
[[bench]]
name = "get_code"
harness = false
[[bench]]
name = "sync"
harness = false