-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (47 loc) · 1.14 KB
/
Cargo.toml
File metadata and controls
55 lines (47 loc) · 1.14 KB
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
[package]
name = "pcaparse"
edition = "2021"
version = "0.2.0"
authors = ["julian <traceflight@outlook.com>"]
description = "A crate to parse, read and write Cap(NA Sniffer 2.x), Pcap and PcapNg"
license = "MIT"
documentation = "https://docs.rs/pcaparse/"
repository = "https://github.com/traceflight/pcaparse"
readme = "README.md"
keywords = ["pcap", "pcapng", "cap", "parse", "write"]
categories = ["encoding", "parsing"]
exclude = [
"benches/bench.pcap",
"benches/bench.pcapng",
"benches/bench.cap",
"fuzz",
"tests",
]
[dependencies]
async-trait = { version = "0.1.83", optional = true }
byteorder = "1.5.0"
derive-into-owned = "0.2.0"
thiserror = "2.0"
tokio = { version = "1.42.0", optional = true }
tokio-byteorder = { version = "0.3.0", optional = true }
tracing = "0.1.41"
[dev-dependencies]
tokio = { version = "1.42.0", features = [
"macros",
"rt",
"rt-multi-thread",
"fs",
"net",
] }
tokio-test = "0.4.4"
criterion = "0.5.1"
glob = "0.3.1"
hex = "0.4.3"
[[bench]]
name = "benches"
harness = false
[profile.bench]
lto = "fat"
[features]
default = ["tokio"]
tokio = ["async-trait", "dep:tokio", "tokio-byteorder"]