From ea87cc407c40e8ef5162a3a4457ed0b1bfcf4a55 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Tue, 25 Feb 2025 19:45:35 +0000 Subject: cleanup --- stanza/src/stream.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'stanza/src/stream.rs') diff --git a/stanza/src/stream.rs b/stanza/src/stream.rs index 89b03d8..069dcd1 100644 --- a/stanza/src/stream.rs +++ b/stanza/src/stream.rs @@ -1,15 +1,13 @@ -use std::collections::{HashMap, HashSet}; - use jid::JID; -use peanuts::element::{Content, ElementBuilder, FromElement, IntoElement, NamespaceDeclaration}; -use peanuts::{element::Name, Element}; +use peanuts::element::{ElementBuilder, FromElement, IntoElement}; +use peanuts::Element; use crate::bind; +use super::client; use super::sasl::{self, Mechanisms}; use super::starttls::{self, StartTls}; use super::stream_error::{Error as StreamError, Text}; -use super::{client, stream_error}; pub const XMLNS: &str = "http://etherx.jabber.org/streams"; -- cgit