-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (55 loc) · 2.01 KB
/
Cargo.toml
File metadata and controls
60 lines (55 loc) · 2.01 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
53
54
55
56
57
58
59
60
[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.5.2"
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 = "0.30.0"
crossterm = { version = "0.29.0", default-features = false, features = ["event-stream"] }
tokio = { version = "1.28.2", features = ["full"] }
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", "env"] }
futures = "0.3.28"
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
directories = "6.0.0"
tui-logger = { version = "0.18.1", default-features = false, features = [
"tracing-support",
] }
log = "0.4.19"
libc = "0.2.146"
tui-input = "0.15.0"
signal-hook = "0.4.3"
tokio-util = "0.7.8"
zbus = { version = "5", default-features = false, features = ["tokio"] }
fuzzy-matcher = "0.3"
itertools = "0.14.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.31.0", features = ["user"] }
is-wsl = "0.4.0"
tracing-appender = "0.2.3"
terminal-light = "1"
# 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"