🦠 The Definitive Gemini Protocol Toolkit
gemini gemini-protocol gemtext parser zero-dependency toolkit ast converter html markdown cli networking
0
fork

Configure Feed

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

fix(tests): blocking and non-blocking request

Fuwn 37546008 44b186a9

+5 -5
+3 -1
src/request/blocking.rs
··· 27 27 /// # Example 28 28 /// 29 29 /// ```rust 30 - /// match germ::request::request(&url::Url::parse("gemini://fuwn.me").unwrap()) { 30 + /// match germ::request::blocking::request( 31 + /// &url::Url::parse("gemini://fuwn.me").unwrap(), 32 + /// ) { 31 33 /// Ok(response) => println!("{:?}", response), 32 34 /// Err(_) => {} 33 35 /// }
+2 -4
src/request/non_blocking.rs
··· 30 30 /// ```rust 31 31 /// #[tokio::main] 32 32 /// async fn main() { 33 - /// match germ::request::sync::request( 34 - /// &url::Url::parse("gemini://fuwn.me").unwrap(), 35 - /// ) 36 - /// .await 33 + /// match germ::request::request(&url::Url::parse("gemini://fuwn.me").unwrap()) 34 + /// .await 37 35 /// { 38 36 /// Ok(response) => println!("{:?}", response), 39 37 /// Err(_) => {}