The libpnet library provides a few macros to reduce the boilerplate involved in implementing new protocols. Unfortunately, with the current state of Rust macro support, these aren't as easy to use in your own project as the rest of the library is.
This document is a brief guide to getting a Rust package set up to use the
syntex
-based pnet_macros
crate in your own crates. It's currently only been