🏗️ 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.

docs(rossweisse): revert to implementation

Fuwn 58e0b15e 6968827c

+6 -2
+3 -1
examples/struct_router.rs
··· 17 17 18 18 //! `cargo run --example struct_router` 19 19 20 + use rossweisse::route; 21 + 20 22 #[rossweisse::router] 21 23 struct Router { 22 24 _phantom: (), ··· 24 26 25 27 #[rossweisse::router] 26 28 impl Router { 27 - #[rossweisse::route(index)] 29 + #[route(index)] 28 30 pub fn index( 29 31 _context: windmark::context::RouteContext, 30 32 ) -> windmark::Response {
+3 -1
rossweisse/README.md
··· 9 9 For now, a simple Rosswiesse router can be implemented like this: 10 10 11 11 ```rust 12 + use rossweisse::route; 13 + 12 14 #[rossweisse::router] 13 15 struct Router { 14 16 _phantom: (), ··· 16 18 17 19 #[rossweisse::router] 18 20 impl Router { 19 - #[rossweisse::route(index)] 21 + #[route(index)] 20 22 pub fn index( 21 23 _context: windmark::context::RouteContext, 22 24 ) -> windmark::Response {