-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
61 lines (44 loc) · 1022 Bytes
/
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
[workspace]
resolver = "2"
members = [
"cassie_common",
"cassie_config",
"cassie_domain",
"cassie_devtools",
"cassie_orm",
"cassie_storage",
"cassie_web",
"cassie_wx",
"cassie_casbin_adapter",
"cassie_tests",
"cassie_macros",
"cassie_msg"
]
exclude = ["cassie_tests","cassie_devtools"]
[profile.release]
codegen-units = 1
incremental = true
lto = true
opt-level = 'z' # Optimize for size
[profile.release.package.cassie_common]
opt-level = 3
[profile.release.package.cassie_config]
opt-level = 3
[profile.release.package.cassie_domain]
opt-level = 3
[profile.release.package.cassie_orm]
opt-level = 3
[profile.release.package.cassie_storage]
opt-level = 3
[profile.release.package.cassie_web]
opt-level = 3
[profile.release.package.cassie_wx]
opt-level = 3
[profile.release.package.cassie_casbin_adapter]
opt-level = 3
[profile.release.package.v8]
opt-level = 3
[profile.release.package.serde_v8]
opt-level = 3
[profile.release.package.serde]
opt-level = 3