-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
63 lines (54 loc) · 1.56 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
[package]
name = "app-tracer"
authors = ["yarenty <[email protected]>"]
version = "0.7.3"
edition = "2021"
repository = "https://github.com/yarenty/app_tracer"
homepage = "https://github.com/yarenty/app_tracer"
license = "MIT/Apache-2.0"
readme = "README.md"
description = "Monitoring / benchmarking of long running applications ie: server processes, streaming apps. Both CLI and TUI. (Use app-benchmark for benchmarking one-time run apps). "
categories = ["command-line-utilities"]
keywords = [
"benchmark",
"trace",
"monitor",
"monitoring",
"observability"
]
[dependencies]
tokio = { version = "1", features = ["full"] }
clap = { version = "4.5", features = ["derive", "color"]}
tagger ="4"
chrono ="0.4"
log = "0.4"
env_logger = "0.9"
color-eyre = "0.6"
thiserror = "1"
csv = "1"
serde = "1"
serde_derive = "1"
itertools = "0.10"
sysinfo = "0.26"
termion = "1.5.5"
tui = "0.19.0"
#stderrlog = "0.4.3"
#num-traits = "0.2"
#poloto = "15.2"
#humantime = "2"
#nix = { version = "0.25", features = ["process", "pthread", "ptrace"] }
#ctrlc = "3"
#[build-dependencies]
#dirs = "1.0.5"
[dev-dependencies]
ctrlc = "3"
[[bin]]
name = "tracer"
path = "src/tracer.rs"
# Release with minimal size: by default it gets ~16M - debug, ~3.3M - release, with this: ~1.3M (on rust 1.80sh).
[profile.release]
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
lto = true # Enables link to optimizations
opt-level = "s" # Optimize for binary size - try "z"
strip = true # remove if using bloat