forked from ChainSafe/forest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
248 lines (236 loc) · 7.4 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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
[package]
name = "forest-filecoin"
version = "0.13.0"
authors = ["ChainSafe Systems <[email protected]>"]
repository = "https://github.com/ChainSafe/forest"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Rust Filecoin implementation."
[dependencies]
ahash = "0.8"
anes = "0.1.6"
anyhow = "1.0"
argon2 = "0.5"
async-compression = { version = "0.4", features = ["tokio", "zstd"] }
async-fs = "1"
async-recursion = "1.0"
async-trait = "0.1"
axum = { version = "0.6", features = ['ws'] }
backoff = { version = "0.4", features = ['tokio'] }
base64 = "0.21"
bigdecimal = "0.4.0"
blake2b_simd = "1.0"
bls-signatures = { version = "0.15", default-features = false, features = [
"blst-portable",
] } # prevent SIGINT on CI runners by using portable assembly
boa_engine = "0.17.0"
boa_interner = "0.17.0"
boa_parser = "0.17.0"
boa_runtime = "0.17.0"
byteorder = "1.4.3"
bytes = "1.2"
cbor4ii = { version = "0.2.14", default-features = false, features = ["use_alloc", "use_std"] }
cfg-if = "1"
cfg-vis = "0.3.0"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
cid = { version = "0.10", default-features = false, features = ["std"] }
clap = { version = "4.4", features = ["derive"] }
colored = "2.0"
console-subscriber = { version = "0.1", features = ["parking_lot"] }
convert_case = "0.6.0"
crossbeam = "0.8"
crossbeam-channel = "0.5"
crypto_secretbox = "0.1.1"
daemonize-me = "2.0"
data-encoding = "2.3"
data-encoding-macro = "0.1"
derive_builder = "0.12"
derive_more = "0.99.17"
dialoguer = "0.11"
digest = "0.10.5"
directories = "5"
fil_actor_account_state = "6.1"
fil_actor_cron_state = "6.1"
fil_actor_datacap_state = "6.1"
fil_actor_init_state = "6.1"
fil_actor_interface = "6.1"
fil_actor_market_state = "6.1"
fil_actor_miner_state = "6.1"
fil_actor_power_state = "6.1"
fil_actor_reward_state = "6.1"
fil_actor_system_state = "6.1"
fil_actor_verifreg_state = "6.1"
fil_actors_shared = "6.1"
filecoin-proofs-api = { version = "16.0", default-features = false }
flume = "0.11"
fs_extra = "1.2"
futures = "0.3"
fvm2 = { package = "fvm", version = "~2.7", default-features = false }
fvm3 = { package = "fvm", default-features = false, version = "~3.8", features = ["arb"] }
fvm4 = { package = "fvm", default-features = false, version = "~4.0.0-alpha.3", features = ["arb"] }
fvm_ipld_blockstore = "0.2"
fvm_ipld_encoding = "0.4"
fvm_shared2 = { package = "fvm_shared", version = "~2.6" }
fvm_shared3 = { package = "fvm_shared", version = "~3.6", features = ["testing", "proofs"] }
fvm_shared4 = { package = "fvm_shared", version = "~4.0.0-alpha.3", features = ["testing", "proofs"] }
gethostname = "0.4"
git-version = "0.3"
hex = { version = "0.4", features = ["serde"] }
http = "0.2.8"
human-repr = "1.0"
humantime = "2.1.0"
indexmap = { version = "2.0", features = ["serde"] }
indicatif = { version = "0.17.6", features = ["tokio"] }
integer-encoding = "4.0"
is-terminal = "0.4"
itertools = "0.11.0"
jsonrpc-v2 = { version = "0.12", default-features = false, features = ["easy-errors", "macros", "bytes-v10"] }
jsonwebtoken = "8.1"
kanal = "0.1.0-pre8"
libc = "0.2"
libipld = { version = "0.16", default-features = false, features = ["dag-cbor", "dag-json", "derive", "serde-codec"] }
libipld-core = { version = "0.16", features = ['arb', 'serde-codec'] }
libipld-macro = "0.16"
libp2p = { version = "0.52.1", default-features = false, features = [
'gossipsub',
'kad',
'identify',
'ping',
'mdns',
'noise',
'yamux',
'tcp',
'dns',
'request-response',
'metrics',
'tokio',
'macros',
] }
libsecp256k1 = "0.7"
lru = "0.11"
memmap2 = "0.8"
memory-stats = "1.1"
mimalloc = { version = "0.1.39", optional = true, default-features = false }
multimap = "0.9.0"
nom = "7.1.3"
nonempty = "0.8.0"
nonzero_ext = "0.3.0"
num = "0.4.0"
num-bigint = "0.4"
num-derive = "0.4"
num-rational = "0.4"
num-traits = "0.2"
num_cpus = "1.14"
once_cell = "1.15"
parity-db = { version = "0.4.6", default-features = false }
parking_lot = { version = "0.12", features = ["deadlock_detection"] }
pathfinding = "4.3.1"
pbr = "1.1"
pin-project-lite = "0.2"
positioned-io = "0.3.2"
pretty_assertions = "1.3.0"
prometheus = { version = "0.13", features = ["process"] }
prometheus-client = "0.21"
protobuf = "3.2"
rand = "0.8"
rand_distr = "0.4"
raw_sync_2 = "0.1"
rayon = "1.5"
regex = "1.9"
reqwest = { version = "0.11.18", default-features = false, features = [
"stream",
"rustls-tls",
"json",
] } # use rustls instead of native (openSSL) tls to drop the number of build dependencies
rlimit = "0.10.1"
rs-car-ipfs = "0.3"
rustyline = "12"
scopeguard = "1.1.0"
semver = "1.0"
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_ipld_dagcbor = "0.4.1"
serde_json = "1.0"
serde_tuple = "0.5"
serde_with = { version = "3.0.0", features = ["chrono_0_4"] }
serde_yaml = "0.9"
sha2 = { version = "0.10.5", default-features = false }
shared_memory = "0.12"
similar = "2.2.1"
slotmap = "1.0"
smallvec = "1.11"
smart-default = "0.7.1"
static_assertions = "1.1.0"
statrs = "0.16"
strum = { version = "0.25", features = ["derive"] }
strum_macros = "0.25"
tap = "1"
tempfile = "3.4"
thiserror = "1.0"
ticker = "0.1"
tikv-jemallocator = { version = "0.5", optional = true }
tokio = { version = "1", features = ['full'] }
tokio-stream = { version = "0.1", features = ["fs", "io-util"] }
tokio-util = { version = "0.7.9", features = ["compat"] }
toml = "0.8"
tracing = "0.1"
tracing-appender = "0.2"
tracing-chrome = "0.7.1"
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", features = ["codec"] }
url = { version = "2.3", features = ["serde"] }
uuid = { version = "1.3", features = ['v4'] }
walkdir = "2"
zstd = "0.12.3"
[target.'cfg(unix)'.dependencies]
termios = "0.3"
[dev-dependencies]
assert_cmd = "2"
criterion = { version = "0.5.1", features = ["async_tokio", "csv"] }
cs_serde_bytes = "0.12.2"
derive-quickcheck-arbitrary = "0.1.1"
fvm3 = { package = "fvm", default-features = false, version = "~3.8", features = ["arb"] }
fvm_shared3 = { package = "fvm_shared", version = "~3.6", default-features = false, features = ["arb"] }
libp2p = { version = "0.52.1", features = ['tcp', 'noise', 'yamux', 'request-response', 'tokio'] }
num-bigint = { version = "0.4", features = ['quickcheck'] }
predicates = "3.0"
quickcheck = "1"
quickcheck_macros = "1"
tokio-test = "0.4.2"
[build-dependencies]
anyhow = "1"
protobuf-codegen = "3"
walkdir = "2"
# This needs to be set as default. Otherwise, a regular build or test will produce
# gargantuan artifacts (around 70G for all tests). For a debugging session, you can
# temporarily comment it out.
[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
# The FVM relies on catching panics. See: https://github.com/ChainSafe/forest/issues/3153
panic = "unwind"
overflow-checks = true
# These should be refactored (probably removed) in #2984
[features]
default = ["jemalloc"]
doctest-private = [] # see lib.rs::doctest_private
benchmark-private = [] # see lib.rs::benchmark_private
# Allocator
rustalloc = []
jemalloc = ["dep:tikv-jemallocator"]
mimalloc = ["dep:mimalloc"]
[[bench]]
name = "example-benchmark"
harness = false
required-features = ["benchmark-private"]
[[bench]]
name = "car-index"
harness = false
required-features = ["benchmark-private"]