forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 94
/
Cargo.toml
76 lines (70 loc) · 1.84 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
[workspace]
members = [
"mm2src/coins_activation",
"mm2src/coins",
"mm2src/coins/utxo_signer",
"mm2src/common/shared_ref_counter",
"mm2src/crypto",
"mm2src/db_common",
"mm2src/derives/enum_derives",
"mm2src/derives/ser_error_derive",
"mm2src/derives/ser_error",
"mm2src/hw_common",
"mm2src/mm2_bin_lib",
"mm2src/mm2_bitcoin/chain",
"mm2src/mm2_bitcoin/crypto",
"mm2src/mm2_bitcoin/keys",
"mm2src/mm2_bitcoin/primitives",
"mm2src/mm2_bitcoin/rpc",
"mm2src/mm2_bitcoin/script",
"mm2src/mm2_bitcoin/serialization_derive",
"mm2src/mm2_bitcoin/serialization",
"mm2src/mm2_bitcoin/test_helpers",
"mm2src/mm2_core",
"mm2src/mm2_db",
"mm2src/mm2_err_handle",
"mm2src/mm2_eth",
"mm2src/mm2_event_stream",
"mm2src/mm2_git",
"mm2src/mm2_gui_storage",
"mm2src/mm2_io",
"mm2src/mm2_main",
"mm2src/mm2_metamask",
"mm2src/mm2_metrics",
"mm2src/mm2_net",
"mm2src/mm2_number",
"mm2src/mm2_p2p",
"mm2src/mm2_rpc",
"mm2src/mm2_state_machine",
"mm2src/rpc_task",
"mm2src/trezor",
]
exclude = [
"mm2src/adex_cli",
"mm2src/floodsub",
"mm2src/gossipsub",
"mm2src/mm2_libp2p",
"mm2src/mm2_test_helpers",
]
# https://doc.rust-lang.org/beta/cargo/reference/features.html#feature-resolver-version-2
resolver = "2"
[profile.release]
debug = 0
debug-assertions = false
opt-level = 3
strip = true
codegen-units = 1
# lto = true
panic = "abort"
[profile.test]
# required to avoid a long running process of librustcash additional chain validation that is enabled with debug assertions
debug-assertions = false
[profile.dev]
opt-level = 0
debug = 1
debug-assertions = false
panic = 'unwind'
incremental = true
codegen-units = 256
[profile.release.package.mocktopus]
opt-level = 1 # TODO: MIR fails on optimizing this dependency, remove that..