forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
165 lines (159 loc) · 4.71 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
[workspace]
resolver = "2"
members = [
"api",
"api/types",
"aptos-move/af-cli",
"aptos-move/aptos-resource-viewer",
"aptos-move/aptos-transaction-benchmarks",
"aptos-move/aptos-validator-interface",
"aptos-move/aptos-vm",
"aptos-move/e2e-tests",
"aptos-move/e2e-testsuite",
"aptos-move/framework",
"aptos-move/framework/cached-packages",
"aptos-move/genesis-viewer",
"aptos-move/move-deps",
"aptos-move/move-examples",
"aptos-move/mvhashmap",
"aptos-move/parallel-executor",
"aptos-move/transaction-builder-generator",
"aptos-move/transaction-replay",
"aptos-move/vm-genesis",
"aptos-move/writeset-transaction-generator",
"aptos-node",
"config",
"config/global-constants",
"config/management",
"config/management/genesis",
"config/management/operational",
"config/seed-peer-generator",
"consensus",
"consensus/consensus-types",
"consensus/safety-rules",
"crates/aptos",
"crates/aptos-bitvec",
"crates/aptos-crypto",
"crates/aptos-crypto-derive",
"crates/aptos-faucet",
"crates/aptos-genesis",
"crates/aptos-id-generator",
"crates/aptos-infallible",
"crates/aptos-keygen",
"crates/aptos-log-derive",
"crates/aptos-logger",
"crates/aptos-metrics",
"crates/aptos-metrics-core",
"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-temppath",
"crates/aptos-time-service",
"crates/aptos-workspace-hack",
"crates/bounded-executor",
"crates/channel",
"crates/crash-handler",
"crates/debug-interface",
"crates/fallible",
"crates/num-variants",
"crates/proxy",
"crates/short-hex-str",
"crates/transaction-emitter",
"devtools/x",
"devtools/x-core",
"devtools/x-lint",
"ecosystem/indexer",
"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",
"sdk/transaction-builder",
"secure/net",
"secure/push-metrics",
"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-v1",
"state-sync/state-sync-v2/data-streaming-service",
"state-sync/state-sync-v2/state-sync-driver",
"state-sync/state-sync-v2/state-sync-multiplexer",
"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/jellyfish-merkle",
"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",
]
# 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-move/af-cli",
"aptos-move/genesis-viewer",
"aptos-move/transaction-replay",
"aptos-node",
"config/management/genesis",
"config/management/operational",
"config/seed-peer-generator",
"consensus/safety-rules",
"crates/aptos",
"crates/aptos-faucet",
"crates/aptos-keygen",
"crates/aptos-rate-limiter",
"crates/aptos-rosetta",
"aptos-move/framework",
"aptos-move/transaction-builder-generator",
"execution/db-bootstrapper",
"storage/backup/backup-cli",
"ecosystem/indexer",
]
[profile.release]
debug = true
[profile.cli]
inherits = "release"
debug = false
opt-level = "z"
lto = true
strip = true
codegen-units = 1
[profile.bench]
debug = true
# Build guppy in opt mode so that x commands are faster.
[profile.dev.package.guppy]
opt-level = 3