forked from WuerthPhoenix/tornado
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (49 loc) · 1.53 KB
/
Cargo.toml
File metadata and controls
52 lines (49 loc) · 1.53 KB
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
[workspace]
members = [
"common/api",
"common/logger",
"common/metrics",
"common/parser",
"collector/common",
"collector/email",
"collector/jmespath",
"collector/json",
"engine/matcher",
"executor/common",
"executor/archive",
"executor/director",
"executor/elasticsearch",
"executor/foreach",
"executor/icinga2",
"executor/logger",
"executor/monitoring",
"executor/script",
"executor/smart_monitoring_check_result",
"network/common",
"network/simple",
"spike/rsyslog_collector_writer",
"spike/tornado_events_generator",
"tornado/common",
"tornado/email_collector",
"tornado/engine",
"tornado/engine_api",
"tornado/engine_api_dto",
"tornado/icinga2_collector",
"tornado/nats_json_collector",
"tornado/rsyslog_collector",
"tornado/webhook_collector",
]
# Link-time optimization (LTO) is a feature that lets the optimizer run on the entire program at once
# (including all its external crates), instead of just one crate at a time. This can produce better-optimized code
# However, it can take a very long time and use a huge amount of memory during compilation, so it is disabled by default.
[profile.release]
debug = true
#lto = true
# To perform a CPU specific build, launch cargo with RUSTFLAGS='-C target-cpu=native'
# E.g.:
# > RUSTFLAGS='-C target-cpu=native' cargo bench
[profile.bench]
debug = true
# When lto is enabled the profiler results are less clear.
# It should be taken into account a performance penalty of at least the 15% without the lto.
#lto = true