forked from Conflux-Chain/conflux-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
161 lines (149 loc) · 5.68 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
# Use workspace section to allow test all cases under root folder (cargo test --all).
[workspace]
members = [
"crates/cfx_bytes",
"crates/cfx_types",
"crates/cfx_addr",
"crates/cfx_math",
"crates/cfx_utils",
"crates/stratum",
"crates/accounts",
"crates/blockgen",
"crates/cfx_key",
"crates/cfx_store",
"crates/dbs/db",
"crates/dbs/kvdb-rocksdb",
"crates/dbs/db-errors",
"crates/network",
"crates/primitives",
"crates/secret_store",
"crates/transactiongen",
"bins/cfx_store",
"bins/cfx_key",
"bins/conflux",
"crates/cfxcore/core",
"crates/cfxcore/execute-helper",
"crates/cfxcore/executor",
"crates/cfxcore/internal_common",
"crates/cfxcore/packing-pool",
"crates/cfxcore/parameters",
"crates/dbs/statedb",
"crates/dbs/storage",
"crates/cfxcore/vm-interpreter",
"crates/cfxcore/vm-types",
"crates/util/cfx-vm-tracer-derive",
"crates/util/dag",
"crates/util/delegate",
"crates/util/heap-map",
"crates/util/hibitset",
"crates/util/io",
"crates/util/link-cut-tree",
"crates/util/log_device",
"crates/util/malloc_size_of",
"crates/util/malloc_size_of_derive",
"crates/util/memory-cache",
"crates/util/metrics",
"crates/util/priority-send-queue",
"crates/util/random_crash",
"crates/util/runtime",
"crates/util/sha3-macro",
"crates/util/solidity-abi",
"crates/util/solidity-abi-derive",
"crates/util/throttling",
"crates/util/treap-map",
"crates/util/version",
"crates/serde_utils",
"crates/cfxcore/geth-tracer",
]
resolver = "2"
[workspace.package]
version = "2.4.0"
authors = ["peilun-conflux", "ChenxingLi"]
description = "A rust implementation of the Conflux-Protocol"
documentation = "https://doc.confluxnetwork.org"
#edition = "2018"
homepage = "https://confluxnetwork.org/"
keywords = ["Conflux"]
repository = "https://github.com/conflux-chain/conflux-rust"
license-file = "LICENSE"
[patch.crates-io]
sqlite3-sys = { git = "https://github.com/Conflux-Chain/sqlite3-sys.git", rev = "1de8e5998f7c2d919336660b8ef4e8f52ac43844" }
[profile.test]
debug-assertions = true
[profile.test.package]
parity-secp256k1 = { opt-level = 3 }
[profile.bench]
debug-assertions = true
overflow-checks = true
[profile.release]
overflow-checks = true
# Temporarily run with debug assertion before main-net release.
debug-assertions = true
[workspace.dependencies]
cfxkey = { path = "./crates/cfx_key" }
cfx-math = { path = "./crates/cfx_math" }
solidity-abi = { path = "./crates/util/solidity-abi" }
random-crash = { path = "./crates/util/random_crash" }
memory-cache = { path = "./crates/util/memory-cache" }
priority-send-queue = { path = "./crates/util/priority-send-queue" }
heap-map = { path = "./crates/util/heap-map" }
treap-map = { path = "./crates/util/treap-map" }
hibitset = { path = "./crates/util/hibitset" }
runtime = { path = "./crates/util/runtime" }
malloc_size_of = { path = "./crates/util/malloc_size_of" }
delegate = { path = "./crates/util/delegate" }
throttling = { path = "./crates/util/throttling" }
malloc_size_of_derive = { path = "./crates/util/malloc_size_of_derive" }
link-cut-tree = { path = "./crates/util/link-cut-tree" }
sha3-macro = { path = "./crates/util/sha3-macro" }
dag = { path = "./crates/util/dag" }
cfx-vm-tracer-derive = { path = "./crates/util/cfx-vm-tracer-derive" }
parity-version = { path = "./crates/util/version" }
log-device = { path = "./crates/util/log_device" }
solidity-abi-derive = { path = "./crates/util/solidity-abi-derive" }
io = { path = "./crates/util/io" }
metrics = { path = "./crates/util/metrics" }
cfx-bytes = { path = "./crates/cfx_bytes" }
primitives = { path = "./crates/primitives" }
cfx-types = { path = "./crates/cfx_types" }
client = { path = "./crates/client" }
cfx-stratum = { path = "./crates/stratum" }
txgen = { path = "./crates/transactiongen" }
blockgen = { path = "./crates/blockgen" }
serde-utils = { path = "./crates/serde_utils" }
db = { path = "./crates/dbs/db" }
cfx-db-errors = { path = "./crates/dbs/db-errors" }
cfx-statedb = { path = "./crates/dbs/statedb" }
cfx-storage = { path = "./crates/dbs/storage" }
kvdb-rocksdb = { path = "./crates/dbs/kvdb-rocksdb" }
cfx-addr = { path = "./crates/cfx_addr" }
cfxcore-accounts = { path = "./crates/accounts" }
secret-store = { path = "./crates/secret_store" }
cfxstore = { path = "./crates/cfx_store" }
network = { path = "./crates/network" }
cfx-utils = { path = "./crates/cfx_utils" }
cfxcore = { path = "./crates/cfxcore/core" }
cfx-parameters = { path = "./crates/cfxcore/parameters" }
cfx-execute-helper = { path = "./crates/cfxcore/execute-helper" }
cfx-executor = { path = "./crates/cfxcore/executor" }
cfx-packing-pool = { path = "./crates/cfxcore/packing-pool" }
cfx-vm-interpreter = { path = "./crates/cfxcore/vm-interpreter" }
geth-tracer = { path = "./crates/cfxcore/geth-tracer" }
cfx-vm-types = { path = "./crates/cfxcore/vm-types" }
cfx-internal-common = { path = "./crates/cfxcore/internal_common" }
serde = { version = "1.0", features = ["derive", "alloc"] }
serde_json = "1.0"
serde_derive = "1.0"
thiserror = "1.0.63"
anyhow = "1.0"
chrono = "=0.4.38"
keccak-hash = "0.5"
rlp = "0.4.0"
rlp_derive = { git = "https://github.com/Conflux-Chain/conflux-parity-deps.git", rev = "1597a9cab02343eb2322ca0ac58d39b64e3f42d1" }
hex = "0.4.3"
alloy-sol-types = "0.7.2"
alloy-primitives = "0.7.2"
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", rev = "4e22b9e" }
alloy-rpc-types-trace = { git = "https://github.com/alloy-rs/alloy", rev = "4e22b9e" }
revm = "8.0"
bls-signatures = { git = "https://github.com/Conflux-Chain/bls-signatures.git", rev = "fb52187df92d27c365642cb7e7b2aaf60437cf9c", default-features = false, features = ["multicore", "blst"] }