diff --git a/src/main.rs b/src/main.rs index cbbfd45..9e3dab3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,20 +3,13 @@ use std::collections::HashMap; use std::future::Future; use std::str::FromStr; -use std::sync::Arc; use futures_util::stream::StreamExt; -use dioxus::html::{hr, input, textarea}; -// import the prelude to get access to the `rsx!` macro and the `Scope` and `Element` types use dioxus::prelude::*; use dioxus_desktop::Config; -use dioxus_elements::{h1, li, ul}; -use keyring::Entry; use log::info; use tokio::select; -use xmpp::{BareJid, ClientBuilder, ClientType, FullJid, RoomNick}; +use xmpp::{BareJid, ClientBuilder, ClientType}; use xmpp::parsers::message::MessageType; -use env_logger::init; -use jid::ResourcePart; const STYLESHEET: &str = r#" body {