rapid_configure!() { /* proc-macro */ }
Expand description

A macro for generating imports for every route handler (used in rapid file based routing)

This macro must be used before any other code runs.

Arguments

  • item - A string slice that holds the path to the file system routes root directory

Examples

rapid_configure!("src/routes")