-
Notifications
You must be signed in to change notification settings - Fork 16
/
Cargo.toml
78 lines (73 loc) · 2.12 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
66
67
68
69
70
71
72
73
74
75
76
77
78
[package]
name = "systemctl-tui"
description = "A simple TUI for interacting with systemd services and their logs"
homepage = "https://github.com/rgwood/systemctl-tui"
repository = "https://github.com/rgwood/systemctl-tui"
version = "0.3.8"
edition = "2021"
authors = ["Reilly Wood"]
license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ratatui = {version = "0.28.0"}
crossterm = { version = "0.28.1", default-features = false, features = [
"event-stream",
] }
tokio = { version = "1.28.2", features = ["full"] }
tokio-stream = "0.1.14"
unicode-segmentation = "1.10.1"
anyhow = "1.0.71"
better-panic = "0.3.0"
clap = { version = "4.3.4", default-features = false, features = [
"std",
"color",
"help",
"usage",
"error-context",
"suggestions",
"derive",
"cargo",
"wrap_help",
"unicode",
"string",
"unstable-styles",
] }
clap_complete = "4.3.1"
futures = "0.3.28"
tracing-macros = "0.0.0"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
env_logger = "0.11.1"
directories = "5.0.1"
tui-logger = { version = "0.12.0", default-features = false, features = [
"tracing-support",
] }
colored = "2.0.0"
log = "0.4.19"
libc = "0.2.146"
tui-input = "0.10.0"
signal-hook = "0.3.15"
tokio-util = "0.7.8"
zbus = { version = "4.1.2", default-features = false, features = ["tokio"] }
itertools = "0.12.0"
indexmap = "2.0.0"
clipboard-anywhere = "0.2.2"
chrono = { version = "0.4.31", default-features = false }
lazy_static = "1.4.0"
nix = { version = "0.28.0", features = ["user"] }
is-wsl = "0.4.0"
tracing-appender = "0.2.3"
# build with `cargo build --profile profiling`
# to analyze performance with tooling like perf / samply / superluminal
[profile.profiling]
inherits = "release"
strip = false
debug = true
[profile.release]
lto = true # Enable Link Time Optimization (slow but makes a huge size difference)
opt-level = 'z' # Optimize for size.
panic = 'abort' # Abort on panic
# strip = true # Strip symbols from binary. Big gains but idk if it's worth bad stack traces
[[bin]]
name = "systemctl-tui"
path = "src/main.rs"