generate_rpc_client!() { /* proc-macro */ }Expand description
Generate client-only code from a Cap’n Proto service schema.
Like generate_rpc_service! but emits only the portable data, client,
client-trait, JSON-dispatch, and metadata surface — no server handlers or
service implementation code. Compiles to all targets including wasm32.
§Usage
ⓘ
pub mod model_client {
hyprstream_rpc_derive::generate_rpc_client!("model");
}