-
-
Notifications
You must be signed in to change notification settings - Fork 343
Expand file tree
/
Copy pathCargo.toml
More file actions
86 lines (76 loc) · 2.34 KB
/
Copy pathCargo.toml
File metadata and controls
86 lines (76 loc) · 2.34 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[package]
name = "bandwhich"
version = "0.23.1"
authors = [
"Aram Drevekenin <aram@poor.dev>",
"Eduardo Toledo <etoledom@icloud.com>",
"Eduardo Broto <ebroto@tutanota.com>",
"Kelvin Zhang <zhangxp1998@gmail.com>",
"Brooks Rady <b.j.rady@gmail.com>",
"cyqsimon <28627918+cyqsimon@users.noreply.github.com>",
]
categories = ["network-programming", "command-line-utilities"]
edition = "2021"
exclude = ["src/tests/*", "demo.gif"]
homepage = "https://github.com/imsnif/bandwhich"
keywords = ["networking", "utilization", "cli"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/imsnif/bandwhich"
rust-version = "1.88.0"
description = "Display current network utilization by process, connection and remote IP/hostname"
[features]
default = []
# UI tests temporarily disabled by default, until big refactor is done
ui_test = []
[dependencies]
chrono = "0.4"
clap-verbosity-flag = "3.0.4"
clap = { version = "4.5.61", features = ["derive"] }
crossterm = "0.29.0"
ctrlc = "3.5"
derive_more = { version = "2.1.1", features = ["debug"] }
eyre = "0.6.12"
itertools = "0.14.0"
log = "0.4.29"
once_cell = "1.21.4"
pnet = "0.35.0"
pnet_macros_support = "0.35.0"
ratatui = "0.30.0"
resolv-conf = "0.7.6"
simplelog = "0.12.2"
thiserror = "2.0.18"
tokio = { version = "1.52", features = ["rt", "sync"] }
hickory-resolver = "0.26.1"
unicode-width = "0.2.2"
strum = { version = "0.28.0", features = ["derive"] }
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies]
procfs = "0.18.0"
[target.'cfg(any(target_os = "macos", target_os = "freebsd"))'.dependencies]
regex = "1.12.3"
[target.'cfg(target_os = "windows")'.dependencies]
netstat2 = "0.11.2"
sysinfo = "0.39.1"
[dev-dependencies]
insta = "1.47.2"
packet-builder = { version = "0.7.0", git = "https://github.com/cyqsimon/packet_builder.git", branch = "patch-pnet-0.35" }
pnet_base = "0.35.0"
regex = "1.12.3"
rstest = "0.26.1"
[build-dependencies]
clap = { version = "4.5.61", features = ["derive"] }
clap-verbosity-flag = "3.0.4"
clap_complete = "4.6.5"
clap_mangen = "0.3.0"
derive_more = { version = "2.1.1", features = ["debug"] }
eyre = "0.6.12"
strum = { version = "0.28.0", features = ["derive"] }
[target.'cfg(target_os = "windows")'.build-dependencies]
http_req = "0.14.5"
zip = "8.6.0"
[profile.release]
codegen-units = 1
opt-level = 3
lto = "fat"
panic = "abort"
strip = "symbols"