aboutsummaryrefslogtreecommitdiffstats
path: root/stanza/src/stream.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stanza/src/stream.rs')
-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";