vectorizer_protocol/rpc_wire/mod.rs
1//! VectorizerRPC wire layer — length-prefixed MessagePack over raw TCP.
2//!
3//! Wire spec: `docs/specs/VECTORIZER_RPC.md`. Ported from the
4//! production-tested SynapRPC implementation at
5//! `../Synap/synap-server/src/protocol/synap_rpc/`.
6//!
7//! Layout:
8//!
9//! - [`codec`] — frame encode/decode (`u32 LE len` + MessagePack body).
10//! - [`types`] — `Request`, `Response`, `VectorizerValue` wire types.
11//!
12//! The TCP listener + dispatch layer that consumes these types lives
13//! in `vectorizer::protocol::rpc::server` because it depends on the
14//! storage engine and auth — they're not part of the wire contract.
15
16pub mod codec;
17pub mod types;
18
19pub use types::{Request, Response, VectorizerValue};