-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
89 lines (84 loc) · 2.48 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
[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.2", 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"
bincode = "1.3"
csv = "1.3"
env_logger = "0.11"
# TODO: see if we can revert to upstream repo: originally used
# to fetch proof with "node" instead of already encoded struct
eth_trie = { git = "https://github.com/nikkolasg/eth-trie.rs" }
glob = "0.3"
gobuild = "0.1.0-alpha.1"
hashbrown = "0.14"
hex = "0.4"
itertools = "0.12"
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" }
rand = "0.8"
revm = { version = "3.5", default-features = false }
rlp = "0.5"
rstest = "0.18"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serial_test = "3.0"
sha2 = "0.10"
sha3 = "0.10"
tokio = { version = "1.34", features = ["macros", "rt-multi-thread", "fs"] }
# 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" }