-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
67 lines (55 loc) · 1.93 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
61
62
63
64
65
66
67
[package]
name = "pnet"
version = "0.31.0"
authors = [ "Robert Clipsham <robert@octarineparrot.com>" ]
license = "MIT/Apache-2.0"
homepage = "https://github.com/libpnet/libpnet"
repository = "https://github.com/libpnet/libpnet"
description = "Cross-platform, low level networking using the Rust programming language."
readme = "README.md"
keywords = ["networking", "transport", "datalink", "packet", "protocol"]
categories = ["network-programming", "parser-implementations"]
build = "build.rs"
edition = "2021"
[features]
benchmark = []
netmap = ["pnet_datalink/netmap_sys", "pnet_datalink/netmap"]
pcap = ["pnet_datalink/pcap"]
appveyor = []
travis = []
serde = ["pnet_base/serde", "pnet_datalink?/serde"]
std = ["pnet_base/std", "pnet_sys", "pnet_datalink", "pnet_transport", "ipnetwork"]
default = ["pnet_base/default", "pnet_datalink/default", "pnet_transport/default", "pnet_packet/default"]
[dependencies]
ipnetwork = { version = "0.19.0", optional = true }
pnet_base = { path = "pnet_base", version = "0.31.0", default-features = false }
pnet_sys = { path = "pnet_sys", version = "0.31.0", optional = true, default-features = false }
pnet_datalink = { path = "pnet_datalink", version = "0.31.0", optional = true, default-features = false }
pnet_transport = { path = "pnet_transport", version = "0.31.0", optional = true, default-features = false }
pnet_packet = { path = "pnet_packet", version = "0.31.0", default-features = false }
[dev-dependencies]
time = "0.3.9"
[[example]]
name = "arp_packet"
required-features = ["std"]
[[example]]
name = "tcp_packet"
required-features = ["std"]
[[example]]
name = "fanout"
required-features = ["std"]
[[example]]
name = "list_interfaces"
required-features = ["std"]
[[example]]
name = "packetdump"
required-features = ["std"]
[[example]]
name = "transport_echo_server"
required-features = ["std"]
[[bench]]
name = "rs_sender"
required-features = ["std"]
[[bench]]
name = "rs_receiver"
required-features = ["std"]