8 releases (4 stable)

Uses new Rust 2024

7.3.0 Mar 6, 2026
7.2.0 Mar 6, 2026
7.1.0 Mar 6, 2026
7.0.0 Mar 3, 2026
0.0.0 Mar 3, 2026

#1438 in Network programming

Download history 51/week @ 2026-02-26 63/week @ 2026-03-05 53/week @ 2026-03-12 84/week @ 2026-03-19 61/week @ 2026-03-26 23/week @ 2026-04-02 41/week @ 2026-04-09

214 downloads per month
Used in 6 crates (via roam-service-macros)

MIT/Apache

72KB
1.5K SLoC

Code generation core for roam RPC service macros.

This crate contains all the code generation logic for the #[service] proc macro, extracted into a regular library so it can be unit-tested with insta snapshots.


roam-macros-core

Core code generation engine for Roam service procedural macros.

Role in the Roam stack

roam-macros-core is internal codegen infrastructure behind the service-definition layer.

What this crate provides

  • Macro expansion logic shared by public proc-macro entry points
  • Token generation for clients, dispatchers, and service detail artifacts

Fits with

  • roam-service-macros (public proc-macro crate)
  • roam-macros-parse (grammar/parser front-end)

Part of the Roam workspace: https://github.com/bearcove/roam

Dependencies

~12MB
~189K SLoC