aboutsummaryrefslogtreecommitdiffstats
path: root/stanza/src/stream.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-02-25 19:45:35 +0000
committerLibravatar cel 🌸 <cel@bunny.garden>2025-02-25 19:45:35 +0000
commitea87cc407c40e8ef5162a3a4457ed0b1bfcf4a55 (patch)
treeef608d5c4c6765dff5b43eb1a4e4e814ba7a7acd /stanza/src/stream.rs
parent90a5af5c751e5d4f4dcbe01f9df695708229235d (diff)
downloadluz-ea87cc407c40e8ef5162a3a4457ed0b1bfcf4a55.tar.gz
luz-ea87cc407c40e8ef5162a3a4457ed0b1bfcf4a55.tar.bz2
luz-ea87cc407c40e8ef5162a3a4457ed0b1bfcf4a55.zip
cleanup
Diffstat (limited to '')
-rw-r--r--stanza/src/stream.rs8
1 files changed, 3 insertions, 5 deletions
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";