wayray/crates/wayray-protocol/src/lib.rs

15 lines
416 B
Rust
Raw Normal View History

//! WayRay wire protocol definitions.
//!
//! Shared between wrsrvd (server) and wrclient (client).
//! Messages are serialized with postcard and framed with a 4-byte
//! length prefix for transmission over QUIC streams.
pub mod codec;
pub mod encoding;
pub mod launcher;
pub mod messages;
pub mod session_config;
/// Current protocol version. Incremented on breaking changes.
pub const PROTOCOL_VERSION: u32 = 1;