Bump xmpp-parsers to 0.12.2.
This also removes minidom, jid and try_from as direct dependencies, since they are now reexported by xmpp-parsers.
This commit is contained in:
parent
5eb211c9fc
commit
62e9dcc022
13 changed files with 14 additions and 26 deletions
|
|
@ -18,15 +18,12 @@ tokio-io = "0.1"
|
||||||
tokio-codec = "0.1"
|
tokio-codec = "0.1"
|
||||||
bytes = "0.4"
|
bytes = "0.4"
|
||||||
xml5ever = "0.12"
|
xml5ever = "0.12"
|
||||||
minidom = "0.9"
|
|
||||||
native-tls = "0.2"
|
native-tls = "0.2"
|
||||||
tokio-tls = "0.2"
|
tokio-tls = "0.2"
|
||||||
sasl = "0.4"
|
sasl = "0.4"
|
||||||
jid = { version = "0.5", features = ["minidom"] }
|
|
||||||
trust-dns-resolver = "0.9.1"
|
trust-dns-resolver = "0.9.1"
|
||||||
trust-dns-proto = "0.4.0"
|
trust-dns-proto = "0.4.0"
|
||||||
xmpp-parsers = "0.11"
|
xmpp-parsers = "0.12.2"
|
||||||
idna = "0.1"
|
idna = "0.1"
|
||||||
try_from = "0.2"
|
quick-xml = "0.13"
|
||||||
quick-xml = "0.12"
|
|
||||||
derive-error = "0.0.4"
|
derive-error = "0.0.4"
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,9 @@
|
||||||
use futures::{future, Sink, Stream};
|
use futures::{future, Sink, Stream};
|
||||||
use jid::Jid;
|
|
||||||
use minidom::Element;
|
|
||||||
use std::env::args;
|
use std::env::args;
|
||||||
use std::process::exit;
|
use std::process::exit;
|
||||||
use tokio::runtime::current_thread::Runtime;
|
use tokio::runtime::current_thread::Runtime;
|
||||||
use tokio_xmpp::Client;
|
use tokio_xmpp::Client;
|
||||||
use try_from::TryFrom;
|
use xmpp_parsers::{Jid, Element, TryFrom};
|
||||||
use xmpp_parsers::message::{Body, Message, MessageType};
|
use xmpp_parsers::message::{Body, Message, MessageType};
|
||||||
use xmpp_parsers::presence::{Presence, Show as PresenceShow, Type as PresenceType};
|
use xmpp_parsers::presence::{Presence, Show as PresenceShow, Type as PresenceType};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,10 @@
|
||||||
use futures::{future, Sink, Stream};
|
use futures::{future, Sink, Stream};
|
||||||
use jid::Jid;
|
|
||||||
use minidom::Element;
|
|
||||||
use std::env::args;
|
use std::env::args;
|
||||||
use std::process::exit;
|
use std::process::exit;
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
use tokio::runtime::current_thread::Runtime;
|
use tokio::runtime::current_thread::Runtime;
|
||||||
use tokio_xmpp::Component;
|
use tokio_xmpp::Component;
|
||||||
use try_from::TryFrom;
|
use xmpp_parsers::{Jid, Element, TryFrom};
|
||||||
use xmpp_parsers::message::{Body, Message, MessageType};
|
use xmpp_parsers::message::{Body, Message, MessageType};
|
||||||
use xmpp_parsers::presence::{Presence, Show as PresenceShow, Type as PresenceType};
|
use xmpp_parsers::presence::{Presence, Show as PresenceShow, Type as PresenceType};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ use sasl::client::Mechanism;
|
||||||
use sasl::common::scram::{Sha1, Sha256};
|
use sasl::common::scram::{Sha1, Sha256};
|
||||||
use sasl::common::Credentials;
|
use sasl::common::Credentials;
|
||||||
use tokio_io::{AsyncRead, AsyncWrite};
|
use tokio_io::{AsyncRead, AsyncWrite};
|
||||||
use try_from::TryFrom;
|
use xmpp_parsers::TryFrom;
|
||||||
use xmpp_parsers::sasl::{Auth, Challenge, Failure, Mechanism as XMPPMechanism, Response, Success};
|
use xmpp_parsers::sasl::{Auth, Challenge, Failure, Mechanism as XMPPMechanism, Response, Success};
|
||||||
|
|
||||||
use crate::xmpp_codec::Packet;
|
use crate::xmpp_codec::Packet;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
use futures::{sink, Async, Future, Poll, Stream};
|
use futures::{sink, Async, Future, Poll, Stream};
|
||||||
use std::mem::replace;
|
use std::mem::replace;
|
||||||
use tokio_io::{AsyncRead, AsyncWrite};
|
use tokio_io::{AsyncRead, AsyncWrite};
|
||||||
use try_from::TryFrom;
|
use xmpp_parsers::TryFrom;
|
||||||
use xmpp_parsers::bind::Bind;
|
use xmpp_parsers::bind::Bind;
|
||||||
use xmpp_parsers::iq::{Iq, IqType};
|
use xmpp_parsers::iq::{Iq, IqType};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
use futures::{done, Async, AsyncSink, Future, Poll, Sink, StartSend, Stream};
|
use futures::{done, Async, AsyncSink, Future, Poll, Sink, StartSend, Stream};
|
||||||
use idna;
|
use idna;
|
||||||
use jid::{Jid, JidParseError};
|
use xmpp_parsers::{Jid, JidParseError, Element};
|
||||||
use minidom::Element;
|
|
||||||
use sasl::common::{ChannelBinding, Credentials};
|
use sasl::common::{ChannelBinding, Credentials};
|
||||||
use std::mem::replace;
|
use std::mem::replace;
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,7 @@
|
||||||
//! XMPP server under a JID consisting of just a domain name. They are
|
//! XMPP server under a JID consisting of just a domain name. They are
|
||||||
//! allowed to use any user and resource identifiers in their stanzas.
|
//! allowed to use any user and resource identifiers in their stanzas.
|
||||||
use futures::{done, Async, AsyncSink, Future, Poll, Sink, StartSend, Stream};
|
use futures::{done, Async, AsyncSink, Future, Poll, Sink, StartSend, Stream};
|
||||||
use jid::{Jid, JidParseError};
|
use xmpp_parsers::{Jid, JidParseError, Element};
|
||||||
use minidom::Element;
|
|
||||||
use std::mem::replace;
|
use std::mem::replace;
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
use tokio::net::TcpStream;
|
use tokio::net::TcpStream;
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ use std::str::Utf8Error;
|
||||||
use trust_dns_proto::error::ProtoError;
|
use trust_dns_proto::error::ProtoError;
|
||||||
use trust_dns_resolver::error::ResolveError;
|
use trust_dns_resolver::error::ResolveError;
|
||||||
|
|
||||||
use xmpp_parsers::error::Error as ParsersError;
|
use xmpp_parsers::Error as ParsersError;
|
||||||
use xmpp_parsers::sasl::DefinedCondition as SaslDefinedCondition;
|
use xmpp_parsers::sasl::DefinedCondition as SaslDefinedCondition;
|
||||||
|
|
||||||
/// Top-level error type
|
/// Top-level error type
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
use minidom::Element;
|
use xmpp_parsers::Element;
|
||||||
|
|
||||||
/// High-level event on the Stream implemented by Client and Component
|
/// High-level event on the Stream implemented by Client and Component
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
use futures::sink;
|
use futures::sink;
|
||||||
use futures::stream::Stream;
|
use futures::stream::Stream;
|
||||||
use futures::{Async, Future, Poll, Sink};
|
use futures::{Async, Future, Poll, Sink};
|
||||||
use jid::Jid;
|
use xmpp_parsers::{Jid, Element};
|
||||||
use minidom::Element;
|
|
||||||
use native_tls::TlsConnector as NativeTlsConnector;
|
use native_tls::TlsConnector as NativeTlsConnector;
|
||||||
use std::mem::replace;
|
use std::mem::replace;
|
||||||
use tokio_io::{AsyncRead, AsyncWrite};
|
use tokio_io::{AsyncRead, AsyncWrite};
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
use futures::{sink, Async, Future, Poll, Sink, Stream};
|
use futures::{sink, Async, Future, Poll, Sink, Stream};
|
||||||
use jid::Jid;
|
use xmpp_parsers::{Jid, Element};
|
||||||
use minidom::Element;
|
|
||||||
use std::mem::replace;
|
use std::mem::replace;
|
||||||
use tokio_codec::Framed;
|
use tokio_codec::Framed;
|
||||||
use tokio_io::{AsyncRead, AsyncWrite};
|
use tokio_io::{AsyncRead, AsyncWrite};
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
use crate::{ParseError, ParserError};
|
use crate::{ParseError, ParserError};
|
||||||
use bytes::{BufMut, BytesMut};
|
use bytes::{BufMut, BytesMut};
|
||||||
use minidom::Element;
|
use xmpp_parsers::Element;
|
||||||
use quick_xml::Writer as EventWriter;
|
use quick_xml::Writer as EventWriter;
|
||||||
use std;
|
use std;
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,7 @@
|
||||||
|
|
||||||
use futures::sink::Send;
|
use futures::sink::Send;
|
||||||
use futures::{Poll, Sink, StartSend, Stream};
|
use futures::{Poll, Sink, StartSend, Stream};
|
||||||
use jid::Jid;
|
use xmpp_parsers::{Jid, Element};
|
||||||
use minidom::Element;
|
|
||||||
use tokio_codec::Framed;
|
use tokio_codec::Framed;
|
||||||
use tokio_io::{AsyncRead, AsyncWrite};
|
use tokio_io::{AsyncRead, AsyncWrite};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue