Expand description
A procedural macro-based library to define a Rust service trait once and serve it over multiple RPC protocols.
Re-exports§
pub use serde;
Modules§
- builder
- Contains the
ServerBuilderfor configuring and launching servers. This module provides theServerBuilderfor configuring and launching multiple RPC servers from a single service implementation. - error
- Contains the error types used by the library.
- prelude
- The multi-rpc prelude for convenient importing of the most common items. The multi-rpc prelude for convenient importing of the most common items.
- runner
- Contains the
ServerRunnerfor managing running server tasks.
Attribute Macros§
- multi_
rpc_ impl - A procedural macro to generate protocol-specific server implementations from a trait impl.
- multi_
rpc_ trait - A procedural macro to define a service trait compatible with
multi-rpc. - rest
- An attribute to expose a trait method as a REST endpoint. Used with the
rest-axumfeature.