forked from rust-pcap/pcap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
44 lines (35 loc) · 980 Bytes
/
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
[package]
name = "pcap"
version = "0.5.7"
authors = ["Sean Bowe <ewillbefull@gmail.com>"]
description = "A packet capture API around pcap/wpcap"
keywords = ["pcap", "packet", "sniffing"]
readme = "README.md"
homepage = "https://github.com/ebfull/pcap"
repository = "https://github.com/ebfull/pcap"
documentation = "https://ebfull.github.io/pcap/"
license = "MIT OR Apache-2.0"
[dependencies]
libc = "0.2.7"
[features]
# This feature enables access to the function Capture::savefile_append.
# This is disabled by default, because it depends on a relatively recent
# version of libpcap (1.7.2).
pcap-savefile-append = []
[lib]
name = "pcap"
[[example]]
name = "listenlocalhost"
path = "examples/listenlocalhost.rs"
[[example]]
name = "getdevices"
path = "examples/getdevices.rs"
[[example]]
name = "easylisten"
path = "examples/easylisten.rs"
[[example]]
name = "savefile"
path = "examples/savefile.rs"
[[example]]
name = "getstatistics"
path = "examples/getstatistics.rs"