rustapi-macros 0.1.0

Procedural macros for RustAPI framework
Documentation

Procedural macros for RustAPI

This crate provides the attribute macros used in RustAPI:

  • #[rustapi::main] - Main entry point macro
  • #[rustapi::get("/path")] - GET route handler
  • #[rustapi::post("/path")] - POST route handler
  • #[rustapi::put("/path")] - PUT route handler
  • #[rustapi::patch("/path")] - PATCH route handler
  • #[rustapi::delete("/path")] - DELETE route handler