-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
63 lines (52 loc) · 1.79 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
[package]
name = "pnet"
version = "0.34.0"
authors = [ "Robert Clipsham <[email protected]>" ]
license = "MIT OR 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 = ["std"]
[dependencies]
ipnetwork = { version = "0.20.0", optional = true }
pnet_base = { path = "pnet_base", version = "0.34.0", default-features = false }
pnet_sys = { path = "pnet_sys", version = "0.34.0", optional = true, default-features = false }
pnet_datalink = { path = "pnet_datalink", version = "0.34.0", optional = true, default-features = false }
pnet_transport = { path = "pnet_transport", version = "0.34.0", optional = true, default-features = false }
pnet_packet = { path = "pnet_packet", version = "0.34.0", default-features = false }
[dev-dependencies]
time = "0.3.23"
[[example]]
name = "arp_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"]