Function format_hyperlane_attributes_in_source
Source pub fn format_hyperlane_attributes_in_source(source: &str) -> (String, usize)
Expand description
Normalizes single-line Hyperlane attribute macros (#[route(...)], #[methods(...)], #[hyperlane::...(...)], etc.) in a Rust source string.
§Arguments
&str - Raw Rust source code.
§Returns
(String, usize) - Tuple of (formatted_source, normalized_attribute_count).