use Event;
use Request;
use Response;
use Archive;
use Deserialize;
use Serialize;
/// The single rkyv-archived top-level type that flows over the socket.
/// Length-prefixed framing wraps these (see `daemon::framing`).
/// Wire-format version. Bump on any breaking change to a `*Params`,
/// `Request`, `Response`, or `Event` variant layout. Receivers check this
/// before deserializing and close the connection on mismatch.
pub const PROTO_VERSION: u16 = 1;