weida-protocol 0.1.0-alpha.2

Wire protocol codec (frames, headers, negotiation) for weida
Documentation

weida wire protocol v0: framing, CBOR headers, negotiation and QUIC application error codes.

The crate performs no I/O. It parses and encodes byte slices, which makes it directly fuzzable and keeps hostile-input handling in one place. Every decoder treats its input as hostile: lengths are checked before allocation, duplicate map keys are rejected and nesting depth is bounded.

docs/PROTOCOL.md is the normative specification; this crate is its implementation, and the golden vectors in §8 are asserted byte-for-byte by the unit tests.