forked from nimiq/core-rs-albatross
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
77 lines (70 loc) · 1.45 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
[workspace]
members = [
"beserial",
"beserial/beserial_derive",
"block-production",
"blockchain",
"bls",
"client",
"collections",
"consensus",
"database",
"genesis",
"genesis-builder",
"handel",
"hash",
"hash/hash_derive",
"key-derivation",
"keys",
"lib",
"log",
"macros",
"mempool",
"mnemonic",
"nano-primitives",
"nano-zkp",
"nano-blockchain",
"network-interface",
"network-libp2p",
"network-mock",
"peer-address",
"primitives",
"primitives/account",
"primitives/block",
"primitives/mmr",
"primitives/subscription",
"primitives/transaction",
"primitives/trie",
"rpc-client",
"rpc-interface",
"rpc-server",
"spammer",
"tendermint",
"test-log",
"test-log/proc-macro",
"test-utils",
"tools",
"transaction-builder",
"utils",
"validator",
"validator-network",
"vrf",
"wallet",
]
# Force nimiq-bls and nimiq-nano-zkp to be built with the highest optimization level in the test profiles. This is
# necessary in order to have decent tests performance.
# We do the same with nimiq-bls dev profile because it is compiled for a lot of other crates's tests.
[profile.dev.package.nimiq-bls]
opt-level = 3
[profile.test.package.nimiq-bls]
opt-level = 3
[profile.dev.package.nimiq-nano-primitives]
opt-level = 3
[profile.test.package.nimiq-nano-zkp]
opt-level = 3
[profile.dev.package.beserial]
opt-level = 3
[profile.test.package.beserial]
opt-level = 3
[profile.release]
lto = "thin"