-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
59 lines (55 loc) · 1.7 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
[package]
name = "monitor"
version = "0.1.0"
edition = "2021"
[profile.release]
strip = "debuginfo" # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
lto = true # Enable link-time optimization.
# keep it here for reference. not easy to find the info
# debug = "line-tables-only"
# debuginfo = "packed"
[dependencies]
crossterm = { version = "0.28.1", default-features = false, features = [
"event-stream",
"use-dev-tty",
# we do not nees libc feature however 0.28.1 has a bug that requires it
# https://github.com/crossterm-rs/crossterm/issues/935
"libc",
] }
ratatui = { version = "0.29.0", features = ["unstable-widget-ref"] }
anyhow = "1.0.86"
log = "0.4.22"
strum = "0.26.3"
async-inotify = "0.1.0"
inotify = "0.10.2"
log2 = "0.1.11"
# async
tokio = { version = "1.39.1", features = ["full"] }
tokio-util = { version = "0.7.11", features = ["codec", "compat"] }
tokio-stream = "0.1.15"
futures = "0.3.30"
bytes = "1.6.1"
#serde
serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.120"
serde_repr = "0.1.19"
serde_with = { version = "3.11.0", features = ["base64"] }
format_serde_error = { version = "0.3.0", default-features = false, features = [
"serde_json",
"colored",
"graphemes_support",
] }
uuid = { version = "1.10.0", features = ["serde", "v4"] }
chrono = { version = "0.4.38", default-features = false, features = ["serde"] }
macaddr = { version = "1.0.1", features = ["serde"] }
rmesg = "1.0.21"
base64 = "0.22.1"
url = "2.5.2"
indexmap = "2.2.6"
ipnet = { version = "2.10.1", features = ["serde", "json"] }
better-panic = "0.3.0"
color-eyre = "0.6.3"
human-panic = "2.0.2"
libc = "0.2.161"
strip-ansi-escapes = "0.2.0"