Crate wsdf_derive

source ·
Expand description

This crate provides the derive macros for wsdf, along with some helpers.

Macros

  • Declares the plugin version and supported Wireshark version.

Derive Macros

  • A helper macro to generate an “index” for an enum.
  • Marks a struct as the protocol root.
  • Registers a type to be used as a field within the main #[derive(Protocol)] type.