forked from hydro-project/hydroflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
65 lines (57 loc) · 1.54 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
[workspace]
# See "Adding new crates" and "Moving crates" addendum sections in `RELEASING.md`
members = [
"benches",
"hydro_deploy/core",
"hydro_deploy/hydro_cli",
"hydro_deploy/hydro_cli_examples",
"hydro_deploy/hydroflow_deploy_integration",
"hydro_deploy/hydroflow_plus_deploy",
"hydroflow",
"hydroflow_datalog",
"hydroflow_datalog_core",
"hydroflow_lang",
"hydroflow_macro",
"hydroflow_plus",
"hydroflow_plus_test",
"hydroflow_plus_test_local",
"hydroflow_plus_test_local_macro",
"lattices",
"lattices_macro",
"multiplatform_test",
"pusherator",
"relalg",
"stageleft",
"stageleft_macro",
"stageleft_test",
"stageleft_test_macro",
"stageleft_tool",
"topolotree",
"variadics",
"website_playground",
]
resolver = "2"
[profile.release]
strip = true # Strip symbols from the binary
# Previously this was "z" to minimize docker binary size while sacrificing performance. But "z"
# doesn't make things that much smaller, `strip` is far more important for binary size. Use "3" for
# performance.
opt-level = 3
lto = "fat"
[profile.profile]
inherits = "release"
debug = 2
lto = "off"
strip = "none"
[profile.dev.package.website_playground]
debug-assertions = false
[profile.release.package.website_playground]
opt-level = "s"
[workspace.lints.rust]
unused_qualifications = "warn"
[workspace.lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
explicit_into_iter_loop = "warn"
let_and_return = "allow"
upper_case_acronyms = "warn"