-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (39 loc) · 1.22 KB
/
Copy pathCargo.toml
File metadata and controls
44 lines (39 loc) · 1.22 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
[package]
name = "onport"
version = "1.0.0"
edition = "2024"
description = "See what's listening on your ports"
license = "GPL-3.0-or-later"
repository = "https://gitlab.cherkaoui.ch/HadiCherkaoui/onport"
keywords = ["port", "network", "process", "lsof", "cli"]
categories = ["command-line-utilities", "network-programming"]
[dependencies]
anyhow = "1.0.102"
bollard = { version = "0.20.2", optional = true }
clap = { version = "4.6.0", features = ["derive"] }
clap_complete = "4.6.0"
crossterm = "0.29.0"
owo-colors = "4.3.0"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
tabled = "0.20.0"
tokio = { version = "1.50.0", features = ["rt", "net"], optional = true }
[features]
default = ["docker"]
docker = ["dep:tokio", "dep:bollard"]
# FreeBSD excluded: mimalloc's C sources require pthread.h which is absent
# from zig's FreeBSD cross-compilation sysroot.
[target.'cfg(not(target_os = "freebsd"))'.dependencies]
mimalloc = "0.1.48"
[target.'cfg(windows)'.dependencies]
sysinfo = "0.38.4"
windows = { version = "0.62", features = [
"Win32_NetworkManagement_IpHelper",
"Win32_Foundation",
"Win32_System_Threading",
"Win32_Security",
] }
[profile.release]
lto = true
strip = true
codegen-units = 1