-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
50 lines (43 loc) · 1.15 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
[package]
name = "extcap"
version = "0.4.0"
authors = ["Tomas Kukosa <[email protected]>"]
repository = "https://github.com/tkeksa/extcap-rs"
license = "Apache-2.0 OR MIT"
description = "Crate for writing extcap Wireshark plugins."
readme = "README.md"
keywords = ["extcap", "Wireshark", "pcap"]
categories = ["command-line-interface"]
edition = "2021"
exclude = [
".github",
]
[package.metadata.docs.rs]
all-features = true
[features]
default = []
async-api = ["futures"]
ctrl-pipe = ["async-api", "tokio/fs", "tokio-util/codec"]
[dependencies]
bytes = "1.1.0"
clap = "3.1.0"
log = "0.4.14"
pcap-file = "1.1.1"
futures = { version = "0.3.21", optional = true }
tokio = { version = "1.17.0", optional = true }
tokio-util = { version = "0.7.0", optional = true }
[dev-dependencies]
ctrlc = "3.2.1"
rand = "0.8.5"
serialport = "4.0.1"
simplelog = "0.11.2"
futures = "0.3.21"
tokio-serial = "5.4.1"
tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] }
tokio-util = { version = "0.7.0", features = ["codec"] }
[[example]]
name = "test_serial_dump"
required-features = ["async-api"]
[[example]]
name = "test_control_dump"
required-features = ["ctrl-pipe"]