summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 026a2aea13e77cb6188ee4f28612e619922177ed (plain)
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]
edition = "2021"
name = "bandwhich"
description = "Display current network utilization by process, connection and remote IP/hostname"
version = "0.21.0"
rust-version = "1.70.0"
homepage = "https://github.com/imsnif/bandwhich"
repository = "https://github.com/imsnif/bandwhich"
readme = "README.md"
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>",
]
keywords = ["networking", "utilization", "cli"]
categories = ["network-programming", "command-line-utilities"]
license = "MIT"
exclude = ["src/tests/*", "demo.gif"]

[dependencies]
pnet = "0.34.0"
ipnetwork = "0.20.0"
ratatui = "0.23.0"
crossterm = "0.27.0"
clap = { version = "4.4.6", features = ["derive"] }
chrono = "0.4"
regex = "1.10.1"
tokio = { version = "1.33", features = ["rt", "sync"] }
trust-dns-resolver = "0.23.1"
async-trait = "0.1.74"
unicode-width = "0.1.11"
resolv-conf = "0.7.0"
pnet_macros_support = "0.34.0"
anyhow = { version = "1.0.75", features = ["backtrace"] }
thiserror = "1.0.49"
log = "0.4.20"
simplelog = "0.12.1"
clap-verbosity-flag = "2.0.1"
derivative = "2.2.0"

[target.'cfg(target_os="windows")'.dependencies]
netstat2 = "0.9.1" 
sysinfo = "0.29.10"

[target.'cfg(target_os="linux")'.dependencies]
procfs = "0.15.1"

[dev-dependencies]
insta = "1.34.0"
pnet_base = "0.34.0"
packet-builder = { version = "0.7.0", git = "https://github.com/cyqsimon/packet_builder.git", branch = "patch-update" }
rstest = "0.18.2"

[target.'cfg(target_os="windows")'.build-dependencies]
anyhow = "1.0.75"
http_req = "0.10.0"
zip = "0.6.6"