forked from ChainSafe/forest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
223 lines (216 loc) · 7.51 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
[workspace.package]
version = "0.6.0"
authors = ["ChainSafe Systems <[email protected]>"]
repository = "https://github.com/ChainSafe/forest"
edition = "2021"
license = "MIT OR Apache-2.0"
[workspace]
members = [
"forest/cli",
"forest/daemon",
"forest/shared",
"blockchain/beacon",
"blockchain/blocks",
"blockchain/chain",
"blockchain/state_manager",
"blockchain/chain_sync",
"blockchain/beacon",
"blockchain/message_pool",
"blockchain/consensus/fil_cns",
"blockchain/consensus/deleg_cns",
"vm/actor_interface",
"vm/message",
"vm/interpreter",
"vm/state_migration",
"node/db",
"node/rpc",
"node/rpc-client",
"node/rpc-api",
"node/forest_libp2p",
"node/forest_libp2p/bitswap",
"crypto",
"encoding",
"ipld/legacy_amt",
"ipld",
"key_management",
"tests/serialization_tests",
"types",
"networks",
"utils/auth",
"utils/genesis",
"utils/statediff",
"utils/test_utils",
"utils/metrics",
"utils/paramfetch",
"utils/json",
"utils/forest_utils",
"utils/forest_shim",
]
resolver = "2"
[patch.crates-io]
# get rid of RUSTSEC-2020-0071, the fix is in place but not published to crates.io
# tracking issue: https://github.com/ChainSafe/forest/issues/2251
pbr = { git = "https://github.com/a8m/pb", rev = "09a8e592c1bb0aa1d6215e35c5c8b49b7a5ad6bd" }
[workspace.dependencies]
ahash = "0.8"
anyhow = "1.0"
arbitrary = "1.1"
assert_cmd = "2"
async-trait = "0.1"
atty = "0.2"
axum = "0.6"
backoff = "0.4"
base64 = "0.21"
blake2b_simd = "1.0"
blake3 = "1.3.3"
bls-signatures = { version = "0.12", default-features = false, features = ["blst"] }
byteorder = "1.4.3"
bytes = "1.2"
chrono = { version = "0.4", default-features = false, features = [] }
cid = { version = "0.8", default-features = false, features = ["std"] }
console-subscriber = { version = "0.1", features = ["parking_lot"] }
cs_serde_bytes = "0.12.2"
derive_builder = "0.11"
dialoguer = "0.10.2"
digest = "0.10.5"
directories = "4.0.1"
filecoin-proofs-api = "12.0"
flume = "0.10"
fs_extra = "1.2"
futures = "0.3"
futures-util = "0.3"
fvm = "~2.2"
fvm_ipld_bitfield = "0.5"
fvm_ipld_blockstore = "0.1"
fvm_ipld_car = "0.6"
fvm_ipld_encoding = "0.2"
fvm_shared = "2.0"
gethostname = "0.4"
git-version = "0.3"
hex = "0.4"
http = "0.2.8"
human-repr = "1.0"
hyper = { version = "0.14", features = ["client", "stream", "http1"] }
hyper-rustls = "0.23"
indexmap = { version = "1.9", features = ["serde-1"] }
itertools = "0.10"
jsonrpc-v2 = { version = "0.11", default-features = false, features = ["easy-errors", "macros", "bytes-v05"] }
lazy_static = "1.4"
libipld = { version = "0.14", default-features = false, features = ["dag-cbor", "dag-json", "derive"] }
libipld-core = "0.14"
libipld-macro = "0.14"
libp2p = { version = "0.50", default-features = false }
libsecp256k1 = "0.7"
log = "0.4"
lru = "0.9"
multibase = "0.9"
multihash = "0.16"
nonempty = "0.8.0"
num = "0.4.0"
num-bigint = "0.4"
num-rational = "0.4"
num-traits = "0.2"
num_cpus = "1.14"
once_cell = "1.15"
parking_lot = "0.12"
pin-project-lite = "0.2"
prometheus = "0.13"
prometheus-client = "0.18"
prost = "0.11"
quickcheck = "1"
quickcheck_macros = "1"
rand = "0.8"
rayon = "1.5"
regex = "1.6"
rpassword = "7.2"
serde = "1.0"
serde_ipld_dagcbor = "0.2"
serde_json = "1.0"
serde_repr = "0.1.8"
serde_with = { version = "2.0.1", features = ["chrono_0_4"] }
sha2 = "0.10.5"
structopt = "0.3"
tempfile = "3.3"
thiserror = "1.0"
time = "0.3"
tokio = "1.24"
tokio-stream = "0.1"
tokio-util = "0.7.0"
toml = "0.5"
tower-http = "0.3"
tracing = "0.1"
tracing-appender = "0.2"
tracing-loki = { version = "0.2", default-features = false, features = ["compat-0-2-1", "rustls"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
unsigned-varint = { version = "0.7", default-features = false }
url = { version = "2.3", features = ["serde"] }
which = "4.3"
fil_actor_account_v8 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_account_v9 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_cron_v8 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_cron_v9 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_init_v8 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_init_v9 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_market_v8 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_market_v9 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_miner_v8 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_miner_v9 = { git = "https://github.com/ChainSafe/fil-actor-states" }
# fil_actor_multisig_v8 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_multisig_v9 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_power_v8 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_power_v9 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_reward_v8 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_reward_v9 = { git = "https://github.com/ChainSafe/fil-actor-states" }
# fil_actor_system_v8 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actor_system_v9 = { git = "https://github.com/ChainSafe/fil-actor-states" }
# fil_actor_verifreg_v8 = { git = "https://github.com/ChainSafe/fil-actor-states" }
# fil_actor_verifreg_v9 = { git = "https://github.com/ChainSafe/fil-actor-states" }
fil_actors_runtime = { git = "https://github.com/ChainSafe/fil-actor-states", package = "fil_actors_runtime_v9" }
# fil_actors_runtime_v8 = { git = "https://github.com/ChainSafe/fil-actor-states" }
# fil_actors_runtime_v9 = { git = "https://github.com/ChainSafe/fil-actor-states" }
forest_actor_interface = { path = "./vm/actor_interface" }
forest_auth = { path = "./utils/auth" }
forest_beacon = { path = "./blockchain/beacon" }
forest_blocks = { path = "./blockchain/blocks" }
forest_chain = { path = "./blockchain/chain" }
forest_chain_sync = { path = "./blockchain/chain_sync" }
forest_cli_shared = { path = "./forest/shared" }
forest_crypto = { path = "./crypto" }
forest_db = { path = "./node/db" }
forest_deleg_cns = { path = "./blockchain/consensus/deleg_cns" }
forest_encoding = { path = "./encoding" }
forest_fil_cns = { path = "./blockchain/consensus/fil_cns" }
forest_fil_types = { path = "./types" }
forest_genesis = { path = "./utils/genesis" }
forest_interpreter = { path = "./vm/interpreter" }
forest_ipld = { path = "./ipld" }
forest_json = { path = "./utils/json" }
forest_key_management = { path = "./key_management" }
forest_legacy_ipld_amt = { path = "./ipld/legacy_amt" }
forest_libp2p = { path = "./node/forest_libp2p" }
forest_libp2p_bitswap = { path = "./node/forest_libp2p/bitswap" }
forest_message = { path = "./vm/message" }
forest_message_pool = { path = "./blockchain/message_pool" }
forest_metrics = { path = "./utils/metrics" }
forest_networks = { path = "./networks" }
forest_paramfetch = { path = "./utils/paramfetch" }
forest_rpc = { path = "./node/rpc" }
forest_rpc-api = { path = "./node/rpc-api" }
forest_rpc-client = { path = "./node/rpc-client" }
forest_shim = { path = "./utils/forest_shim" }
forest_state_manager = { path = "./blockchain/state_manager" }
# forest_state_migration = { path = "./vm/state_migration" }
forest_statediff = { path = "./utils/statediff" }
forest_test_utils = { path = "./utils/test_utils" }
forest_utils = { path = "./utils/forest_utils" }
[profile.dev]
debug = 0
split-debuginfo = "unpacked"
[profile.quick]
inherits = "release"
opt-level = 1
lto = "off"
[profile.release]
# https://doc.rust-lang.org/cargo/reference/profiles.html#strip
strip = true
panic = "abort"