🏗️ Elegant & Highly Performant Async Gemini Server Framework for the Modern Age
async framework gemini-protocol protocol gemini rust
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(macros): restrict macro name

Fuwn c7cdfab1 dd818f09

+3 -3
+3 -3
src/response/macros.rs
··· 17 17 // SPDX-License-Identifier: GPL-3.0-only 18 18 19 19 macro_rules! sync_response { 20 - ($($name:tt),*) => { 20 + ($($name:ident),*) => { 21 21 $( 22 22 /// Trailing commas are not supported at the moment! 23 23 #[macro_export] ··· 34 34 } 35 35 36 36 macro_rules! async_response { 37 - ($($name:tt),*) => { 37 + ($($name:ident),*) => { 38 38 $(::paste::paste! { 39 39 /// Trailing commas are not supported at the moment! 40 40 #[macro_export] ··· 51 51 } 52 52 53 53 macro_rules! response { 54 - ($($name:tt),* $(,)?) => { 54 + ($($name:ident),* $(,)?) => { 55 55 $( 56 56 sync_response!($name); 57 57 async_response!($name);