tokio-xmpp: use xmpp_parsers::ns everywhere
This commit is contained in:
parent
1a06a09774
commit
e501addb96
9 changed files with 23 additions and 41 deletions
|
|
@ -15,9 +15,6 @@ use crate::stream_start;
|
|||
use crate::xmpp_codec::{Packet, XMPPCodec};
|
||||
use crate::Error;
|
||||
|
||||
/// <stream:stream> namespace
|
||||
pub const NS_XMPP_STREAM: &str = "http://etherx.jabber.org/streams";
|
||||
|
||||
/// Wraps a binary stream (tokio's `AsyncRead + AsyncWrite`) to decode
|
||||
/// and encode XMPP packets.
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in a new issue