hotaru_meta
Procedural macros for the Hotaru web framework, providing declarative syntax for endpoint and middleware definition.
Macros
endpoint!
Define HTTP endpoints with automatic registration:
use endpoint;
endpoint!
middleware!
Define middleware with clean syntax:
use middleware;
middleware!
Features
- Declarative endpoint registration
- Protocol-generic middleware definition
- Compile-time route validation
- Automatic handler wrapping
- Zero runtime overhead
Usage
This crate is automatically included when using the Hotaru framework. You typically don't need to add it directly.
License
GPL-3.0 License
Part of Hotaru Framework
This is the macro crate for the Hotaru web framework.
Learn more: https://fds.rs