mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-26 15:39:59 -07:00
1. Main binary now parses a config toml and uses its paths for the output pcap and qmdl files 2. Previously we were relying on DiagDeviceError for several things that aren't a diag device. This modularizes that error in a way that both improves the error descriptions, and also allows for better separation of concerns.
34 lines
672 B
TOML
34 lines
672 B
TOML
[package]
|
|
name = "wavehunter"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
name = "wavehunter"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "wavehunter-reader"
|
|
path = "src/bin/wavehunter_reader.rs"
|
|
|
|
[[bin]]
|
|
name = "wavehunter"
|
|
path = "src/bin/wavehunter.rs"
|
|
|
|
[dependencies]
|
|
bytes = "1.5.0"
|
|
chrono = "0.4.31"
|
|
crc = "3.0.1"
|
|
deku = { version = "0.16.0", features = ["logging"] }
|
|
env_logger = "0.10.1"
|
|
libc = "0.2.150"
|
|
log = "0.4.20"
|
|
pcap-file = "2.0.0"
|
|
thiserror = "1.0.50"
|
|
# TODO: split into binary-only dependencies
|
|
toml = "0.8.8"
|
|
serde = { version = "1.0.193", features = ["derive"] }
|
|
|