ruma-api-macros
ruma-api-macros provides a procedural macro for easily generating ruma-api-compatible API endpoints. You define the endpoint's metadata, request fields, and response fields, and the macro generates all the necessary types and implements all the necessary traits.
Usage
This crate is not meant to be used directly; instead, you can use it through the re-exports in ruma-api.
Here is an example that shows most of the macro's functionality:
Documentation
Please refer to the documentation of the ruma_api!
re-export in ruma-api.