forked from Zious11/wirerust
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (52 loc) · 1.8 KB
/
Copy pathCargo.toml
File metadata and controls
58 lines (52 loc) · 1.8 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
56
57
58
[package]
name = "wirerust"
version = "0.13.2"
edition = "2024"
rust-version = "1.91"
description = "Fast PCAP forensics and network triage CLI tool"
license = "MIT"
# Register the `kani` cfg so the normal toolchain does not emit
# `unexpected_cfgs` warnings (which CI promotes to errors via -Dwarnings) for
# the `#[cfg(kani)]`-gated formal-verification proof harnesses. The `kani` cfg
# is set only by `cargo kani`; under a normal build these blocks compile out.
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(kani)'] }
[dependencies]
httparse = "1"
tls-parser = "0.12"
md-5 = "0.11"
clap = { version = "4", features = ["derive"] }
# Pinned to the 0.20.x minor: the decoder's strict→lax truncation
# fallback keys on the `SliceError::Len` variant, which is confirmed
# present and unchanged in the 0.20 API contract. `SlicedPacket.vlan`
# was renamed to `SlicedPacket.link_exts` in 0.20; wirerust's decoder
# does not access `.vlan`, so no compile error results. New ARP code
# must use `.link_exts`. `"0.20"` already excludes 0.21 via Cargo's
# caret semantics for 0.x versions.
etherparse = "0.20"
pcap-file = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
csv = "1"
anyhow = "1"
owo-colors = "4"
indicatif = "0.18"
chrono = { version = "0.4", features = ["serde"] }
[profile.release]
overflow-checks = true
[dev-dependencies]
assert_cmd = "2"
predicates = "3"
tempfile = "3"
proptest = "1"
criterion = "0.8"
# LESSON-P2.07: criterion micro-benchmarks for the hot pcap-processing
# paths. `harness = false` hands the test binary to criterion's own
# runner instead of libtest. Run with `cargo bench`.
[[bench]]
name = "pipeline"
harness = false
# STORY-149: fragmented-handshake carry-drain regression fixture (AC-149-002; closes #360).
[[bench]]
name = "tls_fragmented"
harness = false