-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathCargo.toml
More file actions
175 lines (153 loc) · 6.9 KB
/
Cargo.toml
File metadata and controls
175 lines (153 loc) · 6.9 KB
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
172
173
174
175
[workspace.package]
version = "0.3.3"
edition = "2024"
[workspace]
resolver = "3"
members = [
"node",
"proof-builder-rpc",
"crates/cbft-rpc",
"crates/bitvm2-ga",
"crates/store",
"crates/client",
"crates/util",
"crates/header-chain",
"crates/commit-chain",
"crates/state-chain",
#"crates/mara-slipstream-client",
"crates/bitcoin-light-client-circuit",
"circuits/header-chain-proof/host",
"circuits/commit-chain-proof/host",
"circuits/state-chain-proof/host",
"circuits/watchtower-proof/host",
"circuits/operator-proof/host",
"circuits/proof-builder",
]
default-members = ["node"]
[workspace.dependencies]
bitvm = { git = "https://github.com/GOATNetwork/BitVM.git", branch = "GA" }
goat = { git = "https://github.com/GOATNetwork/BitVM.git", branch = "GA" }
libp2p = { version = "0.55.0", features = ["tokio", "dns", "kad", "noise", "tcp", "yamux", "rsa", "ping", "mdns"] }
libp2p-swarm-derive = "0.35.0"
libp2p-metrics = "0.16.0"
libp2p-core = "0.43.0"
prometheus-client = "0.22.3"
once_cell = "1.5"
bitcoin-script = { git = "https://github.com/BitVM/rust-bitcoin-script" }
bitcoin = { version = "0.32.6" }
#bitcoin = { git = "https://github.com/ProjectZKM/rust-bitcoin", branch = "patch-0.32.6", default-features = false }
borsh = { version = "1.5.4", features = ["derive"] }
hex = "0.4.3"
indexmap = { version = "2.11.0", features = ["serde"] }
ark-bn254 = { version = "0.5.0", features = ["curve", "scalar_field"], default-features = false }
ark-groth16 = "0.5.0"
base64 = "0.21"
ark-serialize = "0.5.0"
sha2 = "0.10.9"
#tokio = { version = "1.37.0", features = ["full"] }
tokio-util = "0.7.15"
esplora-client = { git = "https://github.com/BitVM/rust-esplora-client" }
serde_json = "1.0.116"
toml = "0.8"
rand = "0.8.5"
dotenv = "0.15.0"
blake3 = "=1.5.1"
musig2 = { version = "0.1.0", features = ["serde", "rand"] }
futures = "0.3.30"
futures-util = "0.3.31"
async-trait = "0.1.81"
alloy = { git = "https://github.com/alloy-rs/alloy", features = ["full", "serde"] }
#alloy = { git = "https://github.com/ziren-patches/alloy", branch="patch-0.14.0", features = ["full", "serde"]}
clap = { version = "4.5.23", features = ["derive", "cargo", "env"] }
secp256k1 = { version = "0.29.1", features = ["global-context"] }
#tracing = "0.1.41"
#tracing-subscriber = "0.3.19"
anyhow = "1.0.97"
strum = { version = "0.26", features = ["derive"] }
tempfile = "3.19.1"
reqwest = { version = "0.12.28", default-features = false, features = ["json"] }
http-body-util = "0.1"
axum = "0.8.1"
http = "1.3.1"
uuid = { version = "1.7", features = ["v4", "serde"] }
zeroize = "1.8.1"
bincode = "1.3.3"
zkm-build = { git = "https://github.com/ProjectZKM/Ziren" }
zkm-core-executor = { git = "https://github.com/ProjectZKM/Ziren" }
zkm-prover = { git = "https://github.com/ProjectZKM/Ziren" }
zkm-sdk = { git = "https://github.com/ProjectZKM/Ziren" }
zkm-verifier = { git = "https://github.com/ProjectZKM/Ziren", features = ["ark"] }
#zkm-build = { path = "../Ziren/crates/build" }
#zkm-core-executor = { path = "../Ziren/crates/core/executor" }
#zkm-prover = { path = "../Ziren/crates/prover" }
#zkm-sdk = { path = "../Ziren/crates/sdk" }
#zkm-verifier = { path = "../Ziren/crates/verifier", features = ["ark"] }
bitvm2-lib = { path = "crates/bitvm2-ga" }
store = { path = "crates/store" }
util = { path = "crates/util" }
client = { path = "crates/client" }
bitcoin-light-client-circuit = { path = "crates/bitcoin-light-client-circuit" }
header-chain = { path = "crates/header-chain" }
header-chain-proof = { path = "circuits/header-chain-proof/host" }
commit-chain = { path = "crates/commit-chain" }
commit-chain-proof = { path = "circuits/commit-chain-proof/host" }
cbft-rpc = { path = "crates/cbft-rpc" }
state-chain = { path = "crates/state-chain" }
state-chain-proof = { path = "circuits/state-chain-proof/host" }
operator-proof = { path = "circuits/operator-proof/host" }
watchtower-proof = { path = "circuits/watchtower-proof/host" }
proof-builder = { path = "circuits/proof-builder" }
chrono = "0.4.39"
tracing = { version = "0.1.40", default-features = false }
tracing-appender = "0.2.3"
tracing-subscriber = "0.3.18"
cfg-if = "1.0.0"
spin = { version = "0.9.8", features = ["mutex"] }
tokio = { version = "1.21", default-features = false, features = [
"rt",
"rt-multi-thread",
] }
serde = { version = "1.0.226", default-features = false, features = ["derive"] }
url = "2.3"
thiserror = "1.0.61"
hex-literal = "0.4.1"
rayon = "1.10.0"
rlp = "0.5.2"
logroller = { version = "0.1", features = ["tracing"] }
alloy-consensus = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41", default-features = false, features = ["serde", "serde-bincode-compat"] }
# workspace
# Reth
guest-executor = { git = "https://github.com/ProjectZKM/reth-processor", branch = "feat/slot-state-check" }
host-executor = { git = "https://github.com/ProjectZKM/reth-processor", branch = "feat/slot-state-check", features = ["execution-witness"] }
primitives = { git = "https://github.com/ProjectZKM/reth-processor", branch = "feat/slot-state-check" }
provider = { git = "https://github.com/ProjectZKM/reth-processor", branch = "feat/slot-state-check" }
reth-chainspec = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
#guest-executor = { path = "../reth-processor/crates/executor/guest" }
#host-executor = { path = "../reth-processor/crates/executor/host", features = ["alerting"] }
#primitives = { path = "../reth-processor/crates/primitives" }
#provider= { path = "../reth-processor/crates/provider" }
# revm
#revm = { git = "https://github.com/ziren-patches/revm", branch = "patch-31.0.2", features = ["serde", "bn"], default-features = false }
revm-database-interface = { git = "https://github.com/ziren-patches/revm", branch = "patch-31.0.2", default-features = false, features = ["serde"] }
# alloy
alloy-rlp = "1.0"
alloy-trie = "1.0"
alloy-chains = { version = "0.2.0", default-features = false, features = ["serde"] }
alloy-primitives = { version = "1.0.0", default-features = false, features = ["sha3-keccak", "map-foldhash", "serde"] }
alloy-provider = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41", default-features = false, features = [
"reqwest",
"reqwest-rustls-tls",
] }
# tendermint
tendermint = { git = "https://github.com/ProjectZKM/tendermint-rs", branch = "patch-0.40.3", default-features = false, features = ["secp256k1"] }
tendermint-light-client-verifier = { git = "https://github.com/ProjectZKM/tendermint-rs", branch = "patch-0.40.3", default-features = false, features = [
"rust-crypto",
] }
tendermint-rpc = { git = "https://github.com/ProjectZKM/tendermint-rs", branch = "patch-0.40.3", default-features = false, features = ["http-client"] }
lazy_static = "1.5.0"
[workspace.lints]
rust.missing_debug_implementations = "warn"
rust.unreachable_pub = "warn"
rust.unused_must_use = "deny"
rust.rust_2018_idioms = { level = "deny", priority = -1 }
rustdoc.all = "warn"