Modules§
Macros§
- export_
middleware_ module - Macro to generate all required module export functions This eliminates boilerplate code for new modules
- export_
module_ with_ custom_ middleware - Alternative macro for modules that need custom middleware creation logic This provides the logger setup but allows custom create/destroy functions
- get_
config_ from_ current_ module - Macro to get config using current module name automatically Usage: get_config_from_current_module!(MyConfig, ctx, req)
- get_
module_ config_ from_ current_ crate - Macro to get config using current crate name automatically Usage: get_module_config_from_current_crate!(MyConfig, ctx, req)
- module_
log - module_
log_ debug - module_
log_ error - Convenience macros for module logging
- module_
log_ info - module_
log_ trace - module_
log_ warn