-
Notifications
You must be signed in to change notification settings - Fork 30
/
Cargo.toml
161 lines (154 loc) Β· 8.66 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
[workspace]
resolver = "2"
members = [
# Citrea
"bin/citrea",
"crates/batch-prover",
"crates/bitcoin-da",
"crates/citrea-stf",
"crates/common",
"crates/ethereum-rpc",
"crates/evm",
"crates/fullnode",
"crates/light-client-prover",
"crates/primitives",
"crates/prover-services",
"crates/pruning",
"crates/risc0",
"crates/sequencer",
"crates/soft-confirmation-rule-enforcer",
# "crates/sp1",
# Sovereign sdk
"crates/sovereign-sdk/rollup-interface",
"crates/sovereign-sdk/adapters/mock-da",
"crates/sovereign-sdk/adapters/mock-zkvm",
# Full Node
"crates/sovereign-sdk/full-node/db/sov-db",
"crates/sovereign-sdk/full-node/sov-ledger-rpc",
"crates/sovereign-sdk/full-node/sov-stf-runner",
"crates/sovereign-sdk/full-node/sov-prover-storage-manager",
# Module System
"crates/sovereign-sdk/module-system/sov-modules-stf-blueprint",
"crates/sovereign-sdk/module-system/sov-modules-rollup-blueprint",
"crates/sovereign-sdk/module-system/sov-modules-macros",
"crates/sovereign-sdk/module-system/sov-modules-core",
"crates/sovereign-sdk/module-system/sov-state",
"crates/sovereign-sdk/module-system/sov-modules-api",
"crates/sovereign-sdk/module-system/module-implementations/sov-accounts",
"crates/sovereign-sdk/module-system/module-implementations/integration-tests",
]
[workspace.package]
version = "0.5.0-rc.1"
edition = "2021"
license = "GPL-3.0"
authors = ["Chainway Labs <[email protected]>"]
homepage = "https://citrea.xyz"
publish = false
repository = "https://github.com/chainwayxyz/citrea"
[workspace.dependencies]
# External dependencies
async-trait = "0.1.71"
anyhow = { version = "1.0.68", default-features = false }
backoff = { version = "0.4.0", features = ["futures", "tokio"] }
borsh = { version = "1.5", default-features = false, features = ["derive"] }
# TODO: Consider replacing this serialization format
# https://github.com/Sovereign-Labs/sovereign-sdk/issues/283
bincode = "1.3.3"
bitcoin = { version = "0.32.2", features = ["serde", "rand"] }
bitcoincore-rpc = { version = "0.18.0" }
bcs = "0.1.6"
bech32 = { version = "0.9.1", default-features = false }
brotli = "7"
byteorder = { version = "1.5.0", default-features = false }
bytes = { version = "1.2.1", default-features = false }
chrono = { version = "0.4.37", default-features = false }
clap = { version = "4.4.10", features = ["derive"] }
crypto-bigint = { version = "0.5.5" }
digest = { version = "0.10.6", default-features = false, features = ["alloc"] }
derive_more = { version = "0.99.11", default-features = false }
ed25519-dalek = { version = "2", default-features = false, features = ["serde", "fast"] }
futures = "0.3"
hyper = { version = "1.4.0" }
itertools = { version = "0.13.0", default-features = false }
jmt = { git = "https://github.com/penumbra-zone/jmt.git", rev = "fd1c8ef" }
jsonrpsee = { version = "0.24.2", features = ["jsonrpsee-types"] }
lru = "0.12.3"
hex = { version = "0.4.3", default-features = false, features = ["alloc", "serde"] }
lazy_static = { version = "1.5.0" }
log-panics = { version = "2", features = ["with-backtrace"] }
once_cell = { version = "1.19.0", default-features = false, features = ["alloc"] }
metrics = { version = "0.23.0" }
metrics-derive = { version = "0.1.0" }
metrics-exporter-prometheus = { version = "0.15.3" }
metrics-util = { version = "0.17.0" }
num_cpus = "1.0"
parking_lot = { version = "0.12.3" }
proptest = { version = "1.3.1", default-features = false, features = ["alloc"] }
pin-project = { version = "1.1.3" }
rand = "0.8"
rayon = "1.8.0"
rlimit = "0.10.2"
rustc_version_runtime = { version = "0.3.0", default-features = false }
rs_merkle = "1.4.2"
reqwest = { version = "0.12.5", features = ["rustls-tls", "json", "http2"], default-features = false }
rocksdb = { version = "0.22.0", features = ["lz4"], default-features = false }
serde = { version = "1.0.192", default-features = false, features = ["alloc", "derive"] }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
sha2 = { version = "0.10.8", default-features = false }
schemars = { version = "0.8.16", features = ["derive"] }
secp256k1 = { version = "0.29.0", default-features = false, features = ["global-context", "recovery"] }
thiserror = "1.0.50"
tracing = { version = "0.1.40", default-features = false, features = ["attributes"] }
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json", "fmt"] }
toml = "0.8.0"
tempfile = "3.8"
tokio = { version = "1.40", features = ["full"] }
tokio-util = { version = "0.7.12", features = ["rt"] }
tower-http = { version = "0.5.0", features = ["full"] }
tower = { version = "0.4.13", features = ["full"] }
# Risc0 dependencies
risc0-binfmt = { version = "1.1.3" }
risc0-zkvm = { version = "1.1.3", default-features = false }
risc0-zkvm-platform = { version = "1.1.3" }
risc0-zkp = { version = "1.1.3" }
risc0-circuit-rv32im = { version = "1.1.3" }
risc0-build = { version = "1.1.3" }
bonsai-sdk = { version = "1.1.3" }
# EVM dependencies
revm-inspectors = { version = "=0.8.1", default-features = false }
reth-primitives = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-primitives-traits = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-chainspec = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-errors = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-execution-types = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-rpc-eth-types = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-rpc-eth-api = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-rpc-server-types = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-rpc-types-compat = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-node-api = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-transaction-pool = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-provider = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-tasks = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-db = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-trie = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-rpc = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
reth-stages = { git = "https://github.com/paradigmxyz/reth", rev = "1ba631ba9581973e7c6cadeea92cfe1802aceb4a", default-features = false }
revm = { version = "14.0.3", features = ["serde"], default-features = false }
# forcing cargo for this version or else chooses 3.1.1 and there is some dependency conflicts
revm-primitives = { version = "10.0.0", default-features = false }
alloy-genesis = { version = "0.4.2", default-features = false }
alloy-trie = { version = "0.6", default-features = false }
alloy-rlp = { version = "0.3.8", default-features = false }
alloy-rpc-types = { version = "0.4.2", features = ["eth"], default-features = false }
alloy-rpc-types-eth = { version = "0.4.2", default-features = false }
alloy-rpc-types-trace = { version = "0.4.2", default-features = false }
alloy-primitives = { version = "0.8.7", default-features = false }
alloy-serde = { version = "0.4.2", default-features = false }
alloy-sol-types = { version = "0.8.0", default-features = false, features = ["json"] }
alloy = { version = "0.4.2", default-features = false }
alloy-eips = { version = "0.4.2", default-features = false }
alloy-consensus = { version = "0.4.2", default-features = false, features = ["serde", "serde-bincode-compat"] }
alloy-network = { version = "0.4.2", default-features = false }
citrea-e2e = { git = "https://github.com/chainwayxyz/citrea-e2e", rev = "6a87ce3" }
[patch.crates-io]
bitcoincore-rpc = { version = "0.18.0", git = "https://github.com/chainwayxyz/rust-bitcoincore-rpc.git", rev = "ca3cfa2" }