forked from imsnif/bandwhich
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
60 lines (54 loc) · 1.62 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
[package]
edition = "2021"
name = "bandwhich"
description = "Display current network utilization by process, connection and remote IP/hostname"
version = "0.20.2"
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>"
]
keywords = ["networking", "utilization", "cli"]
categories = ["network-programming", "command-line-utilities"]
license = "MIT"
exclude = ["src/tests/*", "demo.gif"]
[dependencies]
pnet = "0.31.0"
pnet_datalink = "0.31.0"
# pnet_datalink depends on ipnetwork https://crates.io/crates/pnet_datalink/0.31.0/dependencies
ipnetwork = "0.19.0"
tui = { version = "0.19", default-features = false, features = ["crossterm"]}
crossterm = "0.25.0"
structopt = "0.3"
failure = "0.1.8"
chrono = "0.4"
regex = "1.7.1"
lazy_static = "1.4.0"
tokio = { version = "1.24", features = ["full"] }
trust-dns-resolver = "0.22.0"
async-trait = "0.1.62"
unicode-width = "0.1.10"
resolv-conf = "0.7.0"
[target.'cfg(target_os="windows")'.dependencies]
netstat2 = "0.9.1"
sysinfo = "0.27.7"
[target.'cfg(target_os="linux")'.dependencies]
procfs = "0.14.2"
[dev-dependencies]
insta = "1.26.0"
pnet_base = "0.31.0"
packet-builder = "0.7.0"
regex = "1"
[build-dependencies]
http_req = "0.9.0"
zip = "0.6.3"
[profile.release]
# https://github.com/johnthagen/min-sized-rust
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
lto = true