-
Notifications
You must be signed in to change notification settings - Fork 115
/
Cargo.toml
41 lines (38 loc) · 1.05 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
[workspace]
resolver = "2"
members = [
"runtime",
"runtime-modules/proposals/engine",
"runtime-modules/proposals/codex",
"runtime-modules/proposals/discussion",
"runtime-modules/common",
"runtime-modules/council",
"runtime-modules/forum",
"runtime-modules/membership",
"runtime-modules/referendum",
"runtime-modules/storage",
"runtime-modules/working-group",
"runtime-modules/content",
"runtime-modules/constitution",
"runtime-modules/staking-handler",
"runtime-modules/bounty",
"runtime-modules/utility",
"runtime-modules/project-token",
"bin/node",
"bin/inspect",
"bin/utils/chain-spec-builder/",
"bin/utils/session-keys/",
"bin/utils/call-sizes/",
"runtime-modules/support/derive-fixture",
]
exclude = [
"analyses/bench"
]
[profile.release]
# Substrate runtime requires unwinding.
panic = "unwind"
# Sacrifice compile speed for execution speed by using optimization flags:
# https://doc.rust-lang.org/rustc/linker-plugin-lto.html
lto = "fat"
# https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units
codegen-units = 1