-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
122 lines (117 loc) · 3.37 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
[workspace]
members = [
"gnark-utils",
"groth16-framework",
"inspect",
"mp2-common",
"mp2-test",
"mp2-v1",
"parsil",
"ryhope",
"recursion-framework",
"verifiable-db",
]
resolver = "2"
[workspace.dependencies]
alloy = { version = "0.6", default-features = false, features = [
"consensus",
"contract",
"getrandom",
"network",
"node-bindings",
"providers",
"reqwest",
"rlp",
"rpc",
"rpc-types",
"signer-local",
"sol-types",
"transport-http",
"transports",
"postgres",
] }
anyhow = "1.0"
base64 = "0.22"
bb8 = "0.8.5"
bb8-postgres = "0.8.1"
bincode = "1.3"
camelpaste = "0.1"
clap = { version = "4.5", features = ["derive"] }
colored = "2.1"
csv = "1.3"
delegate = "0.13"
derive_more = { version = "1.0", features = ["constructor"] }
dialoguer = { version = "0.11", features = ["fuzzy-select"] }
env_logger = "0.11"
envconfig = "0.11"
# TODO: see if we can revert to upstream repo: originally used
# to fetch proof with "node" instead of already encoded struct
ethereum-types = "0.14.1"
eth_trie = { git = "https://github.com/nikkolasg/eth-trie.rs" }
futures = "0.3"
glob = "0.3"
gobuild = "0.1.0-alpha.1"
hashbrown = "0.15"
hex = "0.4"
itertools = "0.13"
jammdb = "0.11.0"
lazy_static = "1.5.0"
log = "0.4"
num = "0.4"
paste = "1.0"
plonky2 = "0.2.2"
# supporting latest plonky2
plonky2_crypto = { git = "https://github.com/Lagrange-Labs/plonky2-crypto" }
plonky2_ecdsa = { git = "https://github.com/Lagrange-Labs/plonky2-ecdsa" }
plonky2_ecgfp5 = { git = "https://github.com/Lagrange-Labs/plonky2-ecgfp5" }
plonky2_monolith = "0.1.0"
plonky2x = { git = "https://github.com/Lagrange-Labs/succinctx", branch = "fix-build" }
poseidon2_plonky2 = { git = "https://github.com/Lagrange-Labs/plonky2", branch = "upstream" }
postgres-types = { version = "0.2.6", features = ["with-serde_json-1"] }
rand = "0.8"
rand_chacha = "0.3.1"
revm = { version = "3.5", default-features = false }
rlp = "0.5"
rstest = "0.23"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serial_test = "3.0"
sha2 = "0.10"
sha256 = { version = "1.5.0", default-features = false }
sha3 = "0.10"
simple_logger = { version = "5.0.0", default-features = false, features = [
"colors",
] }
sqlparser = "0.49"
stderrlog = { version = "0.6.0", default-features = false }
tabled = { version = "0.16", features = ["ansi"] }
test-log = "0.2.16"
testfile = "0.1.5"
thiserror = "2.0"
tokio = { version = "1.34", features = [
"sync",
"macros",
"macros",
"rt-multi-thread",
"fs",
] }
tokio-postgres = { version = "0.7", features = ["with-chrono-0_4"] }
tracing = "0.1.40"
# just for test
ethers = { git = "https://github.com/Lagrange-Labs/ethers-rs", default-features = false, features = [
"rustls",
], branch = "get-proof-0x" }
[profile.dev]
# Reference: https://doc.rust-lang.org/cargo/reference/profiles.html#dev
# Proving is too slow without optimizations
opt-level = 3
[profile.release]
# Reference: https://doc.rust-lang.org/cargo/reference/profiles.html#release
# Proving is a bottleneck, enable agressive optimizations.
# Reference: https://nnethercote.github.io/perf-book/build-configuration.html#codegen-units
codegen-units = 1
lto = "fat"
[patch.crates-io]
plonky2 = { git = "https://github.com/Lagrange-Labs/plonky2", branch = "upstream" }
plonky2_monolith = { git = "https://github.com/Lagrange-Labs/monolith" }
plonky2_field = { git = "https://github.com/Lagrange-Labs/plonky2", branch = "upstream" }