diff options
author | cel 🌸 <cel@blos.sm> | 2023-07-12 12:41:36 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-07-12 12:41:36 +0100 |
commit | ae00389cb74919a93de9d67c996bebed4f241cbb (patch) | |
tree | 6dbca9aae5bb6943c112ae6ac567c753cf131e2d /src/client/unencrypted.rs | |
parent | f43911ccbae3856b35b0d3e8ec6ac6450e295da6 (diff) | |
download | luz-ae00389cb74919a93de9d67c996bebed4f241cbb.tar.gz luz-ae00389cb74919a93de9d67c996bebed4f241cbb.tar.bz2 luz-ae00389cb74919a93de9d67c996bebed4f241cbb.zip |
move Element to stanza and make write() a method
Diffstat (limited to 'src/client/unencrypted.rs')
-rw-r--r-- | src/client/unencrypted.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/unencrypted.rs b/src/client/unencrypted.rs index ce534c7..3f3a133 100644 --- a/src/client/unencrypted.rs +++ b/src/client/unencrypted.rs @@ -1,5 +1,3 @@ -use std::str; - use quick_xml::{ events::{BytesDecl, BytesStart, Event}, name::QName, @@ -9,8 +7,8 @@ use tokio::io::{BufReader, ReadHalf, WriteHalf}; use tokio::net::TcpStream; use tokio_native_tls::native_tls::TlsConnector; -use crate::element::Element; use crate::stanza::stream::StreamFeature; +use crate::stanza::Element; use crate::Jabber; use crate::Result; use crate::{error::JabberError, stanza::stream::Stream}; |