Closed allengrant closed 2 years ago
You need to enable the data
feature to use this module. Change your Cargo.toml
to look like:
pcap-parser = { version="0.13.1", features=["data"] }
Additional note: this should be visible in the docs, I think some instructions are missing so rustdoc
shows the required features. I'll look into this
After upload of new version 0.13.2, the data module documentation mentions This is supported on crate feature data only
.
Closing this issue, thanks!
Has there been a recent change to the pcap-parser API? I ran a minimal example and go the following import error.
To prove I'm not insane, I build a minimal project as follows:
Cargo.toml:
main.rs:
The latter file is taken exactly from the docs.