Crate rapace_macros

Crate rapace_macros 

Source
Expand description

§rapace-macros

crates.io documentation MIT/Apache-2.0 licensed

Procedural macros for rapace RPC framework.

Provides the #[rapace::service] macro for:

  • Code generation: Automatically generates client and server types from trait definitions
  • Type-safe RPC: Compile-time verification of RPC method signatures
  • Streaming support: Seamless async stream handling
  • Zero boilerplate: Write your service interface once, get everything else

This crate is used internally by rapace. Most users will interact through the re-export in the main rapace crate.

§License

Licensed under either of:

at your option.

Attribute Macros§

service
Generates RPC client and server from a trait definition.