forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
183 lines (175 loc) · 5.37 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
[workspace]
resolver = "2"
members = [
"api",
"api/openapi-spec-generator",
"api/test-context",
"api/types",
"aptos-move/aptos-aggregator",
"aptos-move/aptos-gas",
"aptos-move/aptos-resource-viewer",
"aptos-move/aptos-sdk-builder",
"aptos-move/aptos-transaction-benchmarks",
"aptos-move/aptos-transactional-test-harness",
"aptos-move/aptos-validator-interface",
"aptos-move/aptos-vm",
"aptos-move/e2e-move-tests",
"aptos-move/e2e-tests",
"aptos-move/e2e-testsuite",
"aptos-move/framework",
"aptos-move/framework/cached-packages",
"aptos-move/gas-algebra-ext",
"aptos-move/move-deps",
"aptos-move/move-examples",
"aptos-move/mvhashmap",
"aptos-move/parallel-executor",
"aptos-move/vm-genesis",
"aptos-move/writeset-transaction-generator",
"aptos-node",
"config",
"config/global-constants",
"consensus",
"consensus/consensus-types",
"consensus/safety-rules",
"crates/aptos",
"crates/aptos-bitvec",
"crates/aptos-build-info",
"crates/aptos-compression",
"crates/aptos-crypto",
"crates/aptos-crypto-derive",
"crates/aptos-faucet",
"crates/aptos-faucet-cli",
"crates/aptos-genesis",
"crates/aptos-id-generator",
"crates/aptos-infallible",
"crates/aptos-keygen",
"crates/aptos-log-derive",
"crates/aptos-logger",
"crates/aptos-metrics-core",
"crates/aptos-openapi",
"crates/aptos-proptest-helpers",
"crates/aptos-rate-limiter",
"crates/aptos-rest-client",
"crates/aptos-retrier",
"crates/aptos-rosetta",
"crates/aptos-rosetta-cli",
"crates/aptos-telemetry",
"crates/aptos-telemetry-service",
"crates/aptos-temppath",
"crates/aptos-time-service",
"crates/aptos-warp-webserver",
"crates/bounded-executor",
"crates/channel",
"crates/crash-handler",
"crates/fallible",
"crates/inspection-service",
"crates/num-variants",
"crates/proxy",
"crates/short-hex-str",
"crates/transaction-emitter",
"crates/transaction-emitter-lib",
"ecosystem/indexer",
"ecosystem/node-checker",
"ecosystem/node-checker/vfn-check-client",
"ecosystem/sf-indexer/aptos-sf-indexer",
"ecosystem/sf-indexer/firehose-stream",
"execution/db-bootstrapper",
"execution/executor",
"execution/executor-benchmark",
"execution/executor-test-helpers",
"execution/executor-types",
"mempool",
"network",
"network/builder",
"network/discovery",
"network/memsocket",
"network/netcore",
"network/peer-monitoring-service/client",
"network/peer-monitoring-service/server",
"network/peer-monitoring-service/types",
"sdk",
"secure/net",
"secure/storage",
"secure/storage/github",
"secure/storage/vault",
"state-sync/aptos-data-client",
"state-sync/inter-component/consensus-notifications",
"state-sync/inter-component/event-notifications",
"state-sync/inter-component/mempool-notifications",
"state-sync/state-sync-v2/data-streaming-service",
"state-sync/state-sync-v2/state-sync-driver",
"state-sync/storage-service/client",
"state-sync/storage-service/server",
"state-sync/storage-service/types",
"storage/accumulator",
"storage/aptosdb",
"storage/backup/backup-cli",
"storage/backup/backup-service",
"storage/indexer",
"storage/jellyfish-merkle",
"storage/rocksdb-options",
"storage/schemadb",
"storage/scratchpad",
"storage/state-view",
"storage/storage-interface",
"testsuite/aptos-fuzzer",
"testsuite/aptos-fuzzer/fuzz",
"testsuite/forge",
"testsuite/forge-cli",
"testsuite/generate-format",
"testsuite/smoke-test",
"testsuite/testcases",
"types",
"vm-validator",
]
exclude =[
"ecosystem/sf-indexer/aptos-substreams",
]
# NOTE: default-members is the complete list of binaries that form the "production Aptos codebase". These members should
# never include crates that require fuzzing features or test features. These are the crates we want built with no extra
# test-only code included.
#
# For more, see the "Conditional compilation for tests" section in documentation/coding_guidelines.md.
default-members = [
"aptos-node",
"consensus/safety-rules",
"crates/aptos",
"crates/aptos-faucet",
"crates/aptos-keygen",
"crates/aptos-rate-limiter",
"crates/aptos-rosetta",
"crates/transaction-emitter",
"aptos-move/framework",
"execution/db-bootstrapper",
"storage/backup/backup-cli",
"ecosystem/indexer",
"ecosystem/node-checker",
]
[profile.release]
debug = true
overflow-checks = true
[profile.performance]
inherits = "release"
opt-level = 3
debug = true
overflow-checks = false
lto = true
codegen-units = 1
[profile.cli]
inherits = "release"
debug = false
opt-level = "z"
lto = true
strip = true
codegen-units = 1
[profile.bench]
debug = true
# This is a temporary workaround to avoid multiple library
# definitions for LZ4 (caused by rust-rocksdb).
# This will be removed once our pull requests land.
# https://github.com/rust-rocksdb/rust-rocksdb/issues/666
[patch.crates-io]
lz4 = { git = 'https://github.com/aptos-labs/lz4-rs' }
rocksdb = { git = 'https://github.com/aptos-labs/rust-rocksdb' }
serde-reflection = { git = "https://github.com/aptos-labs/serde-reflection", rev = "839aed62a20ddccf043c08961cfe74875741ccba" }
diesel = { git = "https://github.com/aptos-labs/diesel", branch = "1.4.x" }