Crate xroute_macros
Source Expand description
- router
- Generate a router function
- main
- Generate a main function that runs the async runtime and calls the annotated function
- request
- Mark the item as a request type
- response
- Mark the item as a response type
- state
- Mark the item as a state type
- submodule
- Mark the module as a submodule with routes