use crate::*;
/// Internal implementation for the `route` attribute macro.
///
/// This function processes the route attribute and generates code to register
/// the decorated struct as a route handler in the inventory system.
///
/// # Arguments
///
/// - `TokenStream` - The attribute token stream containing route parameters (path)
/// - `TokenStream` - The struct token stream being decorated
///
/// # Returns
///
/// A `TokenStream` containing the original struct and inventory registration code
///
/// # Generated Code
///
/// The macro generates:
/// - The original struct unchanged
/// - An `inventory::submit!` block that registers a `HookType` instance
/// - A handler factory that creates boxed handlers for the struct
pub