(input_args: TokenStream, input: TokenStream)
| 81 | /// - The macro is designed to work with asynchronous functions. |
| 82 | #[proc_macro_attribute] |
| 83 | pub fn with_middleware(input_args: TokenStream, input: TokenStream) -> TokenStream { |
| 84 | utils::handle_macro_errors( |
| 85 | |input_args, input| { |
| 86 | let macro_impl = macros::with_middleware::WithMiddlewareMacro::new(input_args, input); |
| 87 | |
| 88 | macro_impl.build() |
| 89 | }, |
| 90 | macros::with_middleware::WithMiddlewareMacro::MACRO_NAME, |
| 91 | input_args, |
| 92 | input, |
| 93 | ) |
| 94 | } |
| 95 | |
| 96 | /// The `storable` procedural macro is designed to generate serialization and deserialization |
| 97 | /// implementations for a given struct or enum. It allows for the serialization format to be |
nothing calls this directly
no test coverage detected