Skip to main content

mcpmesh_local_api/
codec.rs

1//! The family's one wire codec: compact JSON, UTF-8, one frame per `\n`, 16 MiB cap.
2//! Re-exported from `mcpmesh-codec` — ONE implementation, provably shared with the
3//! daemon side (`mcpmesh_net::framing` re-exports the same crate), so the two ends
4//! cannot drift. `mcpmesh-codec` links no iroh, so this stays a no-iroh client crate.
5pub use mcpmesh_codec::{FrameReader, Inbound, MAX_FRAME_BYTES, Violation, write_frame};