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)
76KB
1.5K
SLoC
rapace-macros
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:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Dependencies
~3MB
~63K SLoC