//! DreamStack Universal Bitstream
//!
//! Any input bitstream → any output bitstream.
//! Neural nets generate the pixels. The receiver just renders bytes.
//!
//! # Architecture
//!
//! ```text
//! ┌──────────┐    WebSocket    ┌──────────┐
//! │  Source   │ ─────frames──► │ Receiver  │
//! │ (server)  │ ◄────inputs─── │ (client)  │
//! └──────────┘                 └──────────┘
//! ```
//!
//! The **source** runs the DreamStack signal graph, springs, and renderer.
//! It captures frames as bytes and streams them to connected receivers.
//!
//! The **receiver** is a thin client (~200 lines) that renders incoming
//! pixel frames and sends input events back to the source.
//!
//! The **relay** is a WebSocket server that routes frames and inputs
//! between source and receivers.

pub mod protocol;
pub mod codec;
pub mod relay;
pub mod ds_hub;
