6 releases (breaking)

Uses new Rust 2024

0.5.0 Dec 21, 2025
0.4.0 Dec 14, 2025
0.3.0 Dec 13, 2025
0.2.0 Dec 11, 2025
0.1.1 Dec 11, 2025

#5 in #rapace


Used in 8 crates (via rapace)

MIT/Apache

76KB
1.5K SLoC

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.

Dependencies

~3MB
~63K SLoC