Skip to main content

Crate aro_macros

Crate aro_macros 

Source
Expand description

Procedural macros for the Aro web framework.

Provides HTTP method attribute macros (#[get("/path")], #[post("/path")], etc.) and the AroEntity derive macro for reducing per-entity boilerplate.

Attribute Macros§

delete
Attach a DELETE route to a handler function.
get
Attach a GET route to a handler function.
patch
Attach a PATCH route to a handler function.
post
Attach a POST route to a handler function.
put
Attach a PUT route to a handler function.

Derive Macros§

AroEntity
Derive macro to generate Aro entity trait implementations.