mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
capture: Add packet capture infrastructure
This commit is contained in:
parent
3b1edd8e3d
commit
abbcae618f
4 changed files with 593 additions and 4 deletions
|
|
@ -23,6 +23,7 @@ services = []
|
|||
game_defs = ["dep:phf", "games"]
|
||||
serde = ["dep:serde", "serde/derive"]
|
||||
clap = ["dep:clap"]
|
||||
packet_capture = ["dep:pcap-file", "dep:pnet_packet"]
|
||||
|
||||
[dependencies]
|
||||
byteorder = "1.5"
|
||||
|
|
@ -37,6 +38,9 @@ phf = { version = "0.11", optional = true, features = ["macros"] }
|
|||
|
||||
clap = { version = "4.1.11", optional = true, features = ["derive"] }
|
||||
|
||||
pcap-file = { version = "2.0", optional = true }
|
||||
pnet_packet = { version = "0.34", optional = true }
|
||||
|
||||
# Examples
|
||||
[[example]]
|
||||
name = "minecraft"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue