Skip to main content

maat_sdk_wire/
lib.rs

1//! `maat-sdk-wire` — Layer 2 network protocol.
2//!
3//! Postcard frame definitions for the Metagamer client/server WebSocket
4//! protocol. The cross-cutting envelope (`ServerFrame`, `ClientFrame`,
5//! handshake, postcard safety, validation, codec) lives here.
6//! Capability-specific frames (`AudioFrame`, `JournalFrame`, etc.) live
7//! adjacent to their capability code in `core/capabilities/<name>/src/wire.rs`
8//! and ride through generic `CapabilityFrame { capability_id, payload }`
9//! envelopes defined in this crate.