From af876b3519785797aa0c06edd83ab4a850196a13 Mon Sep 17 00:00:00 2001 From: CramMK Date: Fri, 10 Jan 2020 09:09:27 +0100 Subject: [PATCH] Change example --- examples/auth.rs | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 examples/auth.rs diff --git a/examples/auth.rs b/examples/auth.rs deleted file mode 100644 index fa958b6..0000000 --- a/examples/auth.rs +++ /dev/null @@ -1,17 +0,0 @@ -use irssi_wire::net::wire_api::auth::*; -use irssi_wire::net::wire_api::conversations::*; - -#[tokio::main] -async fn main() -> Result<(), Box> { - let mut client = WireClient::new( - String::from("marco_thomas@genua.de"), - String::from("MarcMK1337#"), - Config::Default, - ); - - let auth_response = client.authentification().await.unwrap(); - - let conversations = client.fetch_conversations(&auth_response).await.unwrap(); - - Ok(()) -}