-
Notifications
You must be signed in to change notification settings - Fork 713
/
Cargo.toml
205 lines (200 loc) · 6.43 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
[workspace]
members = [
"massa-api",
"massa-api-exports",
"massa-async-pool",
"massa-bootstrap",
"massa-client",
"massa-cipher",
"massa-consensus-exports",
"massa-consensus-worker",
"massa-db-exports",
"massa-db-worker",
"massa-executed-ops",
"massa-execution-exports",
"massa-execution-worker",
"massa-factory-exports",
"massa-factory-worker",
"massa-channel",
"massa-consensus-exports",
"massa-consensus-worker",
"massa-hash",
"massa-logging",
"massa-metrics",
"massa-models",
"massa-node",
"massa-sdk",
"massa-storage",
"massa-pool-worker",
"massa-pool-exports",
"massa-protocol-exports",
"massa-protocol-worker",
"massa-module-cache",
"massa-serialization",
"massa-signature",
"massa-test-framework",
"massa-time",
"massa-wallet",
"massa-ledger-worker",
"massa-ledger-exports",
"massa-final-state",
"massa-pos-exports",
"massa-pos-worker",
"massa-versioning",
"massa-grpc",
"massa-xtask",
]
resolver = "2"
# From https://doc.rust-lang.org/cargo/reference/profiles.html#overrides
[profile.dev.package."*"]
opt-level = 3 # Speed-up the CI
# This profile is used for prebuilt binaries.
[profile.release_prebuilt]
inherits = "release"
codegen-units = 1 # Do not split into multiple codegen units, improve performance, may compile slower
lto = true # Enables Link Time Optimization, enabling more aggressive optimizations across the entire codebase
# # Features
#
# * test-exports: enable some tests specific exports.
# Usage: add test-exports = ["massa_crate/test-exports", ...] to dev-dependencies to use test specific functions avaible in massa-crate.
# Do not add as a regular dependency. Never.
#
# * sandbox: for testing purpose, genesis timestamps is set as now + 9 seconds.
# The saved snapshot can then be used to restart the network from the snapshot.
[workspace.dependencies]
# Internal packages
massa_api = { path = "./massa-api" }
massa_api_exports = { path = "./massa-api-exports" }
massa_async_pool = { path = "./massa-async-pool" }
massa_bootstrap = { path = "./massa-bootstrap" }
massa_channel = { path = "./massa-channel" }
massa_cipher = { path = "./massa-cipher" }
massa_consensus_exports = { path = "./massa-consensus-exports" }
massa_consensus_worker = { path = "./massa-consensus-worker" }
massa_db_exports = { path = "./massa-db-exports" }
massa_db_worker = { path = "./massa-db-worker" }
massa_executed_ops = { path = "./massa-executed-ops" }
massa_execution_exports = { path = "./massa-execution-exports" }
massa_execution_worker = { path = "./massa-execution-worker" }
massa_factory_exports = { path = "./massa-factory-exports" }
massa_factory_worker = { path = "./massa-factory-worker" }
massa_final_state = { path = "./massa-final-state" }
massa_grpc = { path = "./massa-grpc" }
massa_hash = { path = "./massa-hash" }
massa_ledger_exports = { path = "./massa-ledger-exports" }
massa_ledger_worker = { path = "./massa-ledger-worker" }
massa_logging = { path = "./massa-logging" }
massa_metrics = { path = "./massa-metrics" }
massa_models = { path = "./massa-models" }
massa_module_cache = { path = "./massa-module-cache" }
massa_pool_exports = { path = "./massa-pool-exports" }
massa_pool_worker = { path = "./massa-pool-worker" }
massa_pos_exports = { path = "./massa-pos-exports" }
massa_pos_worker = { path = "./massa-pos-worker" }
massa_protocol_exports = { path = "./massa-protocol-exports" }
massa_protocol_worker = { path = "./massa-protocol-worker" }
massa_sdk = { path = "./massa-sdk" }
massa_serialization = { path = "./massa-serialization" }
massa_signature = { path = "./massa-signature" }
massa_storage = { path = "./massa-storage" }
massa_test_framework = { path = "./massa-test-framework" }
massa_time = { path = "./massa-time" }
massa_versioning = { path = "./massa-versioning" }
massa_wallet = { path = "./massa-wallet" }
# Massa projects dependencies
massa-proto-rs = { git = "https://github.com/massalabs/massa-proto-rs", "rev" = "38950875a7aa406fedc4f0b8336864e5ff290f2c" }
massa-sc-runtime = { git = "https://github.com/massalabs/massa-sc-runtime", "rev" = "80352eb9f2a6b90a441cd64433d8874c33fb384f" }
peernet = { git = "https://github.com/massalabs/PeerNet", "rev" = "04b05ddd320fbe76cc858115af7b5fc28bdb8310" }
# Common dependencies
transition = { git = "https://github.com/massalabs/transition.git", "rev" = "93fa3bf82f9f5ff421c78536879b7fd1b948ca75" }
substruct = { git = "https://github.com/massalabs/substruct", "rev" = "2fb3ae0dc9d913a0566ce6415eaa7a7ca1690fe1" }
machine = { git = "https://github.com/massalabs/machine", "rev" = "1736a01400aac54f69a81002862f8555b08caa9b" }
aes-gcm = "0.10"
anyhow = "1.0"
assert_matches = "1.5"
async-trait = "0.1"
bitvec = "1.0"
blake3 = "=1.5"
bs58 = "=0.5"
cfg-if = "1.0.0"
clap = { version = "4.4", features = ["derive", "cargo"] }
config = "0.13"
console = "0.15"
criterion = "0.5"
crossbeam = "0.8"
crossbeam-channel = "0.5"
ctrlc = "3.2"
dialoguer = "0.11"
directories = "5.0"
displaydoc = "0.2"
ed25519-dalek = { version = "=2.1", features = ["rand_core", "zeroize"] }
erased-serde = "0.3"
futures = "0.3"
futures-util = "0.3"
h2 = "0.3"
hex-literal = "0.4"
http = "0.2"
humantime = "2.1"
hyper = "0.14"
ip_rfc = "0.1"
is-terminal = "0.4"
itertools = "0.12"
jsonrpsee = "0.20"
jsonrpsee-http-client = "0.20"
jsonrpsee-ws-client = "0.20"
lazy_static = "1.4"
libsecp256k1 = "=0.7"
mio = "0.8.11"
mockall = "0.11"
mockall_wrap = { git = "https://github.com/AurelienFT/mockall-wrap", rev = "18f88253a000df96cf407dfe4b9158c69c0aeb96" }
more-asserts = "0.3"
nom = "=7.1"
num = "=0.4"
num_enum = "0.7"
paginate = "1.1"
parking_lot = "0.12"
paste = "1.0"
pbkdf2 = { version = "=0.12", features = ["simple"] }
prometheus = "0.13"
rand = "0.8"
rand_distr = "=0.4"
rand_xoshiro = "0.6"
rayon = "1.7"
rcgen = "0.11"
rocksdb = "0.21"
rust_decimal = { version = "1.32", default-features = false }
rustyline = "12.0"
rustyline-derive = "0.9"
schnellru = "0.2"
serde = "1.0"
serde_json = "1.0"
serde_qs = "0.12"
serde_with = "3.3"
serde_yaml = "0.9"
serial_test = "2.0"
sha2 = "=0.10"
sha3 = "=0.10"
socket2 = "0.5"
static_assertions = "1.1"
stream_limiter = "3.2"
structopt = "0.3"
strum = "0.25"
strum_macros = "0.25"
tempfile = "3.5"
thiserror = "1.0"
time = "0.3"
tokio = "1.23"
tokio-stream = "0.1"
toml_edit = "0.21"
tonic = "0.10"
tonic-health = "0.10"
tonic-reflection = "0.10"
tonic-web = "0.10"
tower = "0.4.13"
tower-http = "0.4.0"
tracing = "0.1"
tracing-subscriber = "0.3"
unsigned-varint = "0.8"
variant_count = "1.1"
walkdir = "2.3"
zeroize = { version = "1.7", features = ["derive"] }