-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathCargo.toml
39 lines (33 loc) · 1.05 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
[package]
name = "netstat2"
version = "0.11.1"
authors = ["Ohad Ravid <[email protected]>", "ivxvm <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/ohadravid/netstat2-rs"
documentation = "https://docs.rs/netstat2"
categories = ["network-programming", "os"]
keywords = ["network", "socket"]
description = """
Cross-platform library to retrieve network sockets information.
"""
[dependencies]
bitflags = "2"
thiserror = "2"
[dev-dependencies]
criterion = { version = "0.4" }
[[bench]]
name = "get_sockets_info_benchmark"
harness = false
[target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "linux", target_os = "android"))'.build-dependencies]
bindgen = "0.71"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies]
num-derive = "0.3"
num-traits = "0.2.8"
byteorder = "1.3.2"
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
netlink-sys = "0.8"
netlink-packet-core = "0.7"
netlink-packet-utils = "0.5"
netlink-packet-sock-diag = "0.4"