Skip to main content

Crate rapina_macros

Crate rapina_macros 

Source

Macros§

schema
Define database entities with Prisma-like syntax.

Attribute Macros§

delete
Registers a DELETE route handler.
get
Registers a GET route handler.
patch
Registers a PATCH route handler.
post
Registers a POST route handler.
public
Marks a route as public (no authentication required).
put
Registers a PUT route handler.
relay
Registers a channel handler for the relay system.

Derive Macros§

Config
Derive macro for type-safe configuration