hyperlane-macros 20.0.2

A comprehensive collection of procedural macros for building HTTP servers with enhanced functionality. This crate provides attribute macros that simplify HTTP request handling, protocol validation, response management, and request data extraction.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::*;

/// Represents the attributes for the `route` macro.
///
/// This struct parses the input attributes for the `route` macro,
/// specifically extracting the path for the route.
pub(crate) struct RouteAttr {
    /// The path expression for the route.
    pub(crate) path: Expr,
}