wsdf 0.1.2

Proc-macro based Wireshark Dissector Framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
// Tests that unknown container attributes are rejected

use wsdf::*;

#[derive(Protocol)]
#[wsdf(foo = "bar")] // Unknown meta item
struct MyProtocol {
    foo: u32,
}

fn main() {}