From 53db39f0c843e856443e6adf048ae1117e041ae6 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 31 Jul 2018 22:37:04 +0200 Subject: [PATCH] bump some deps --- Cargo.toml | 18 ++++++++++-------- src/xmpp_codec.rs | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b664112..665167a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,20 +4,22 @@ version = "0.1.0" authors = ["Astro "] [dependencies] -futures = "*" -tokio-core = "0.1.7" -tokio-io = "*" -bytes = "0.4.4" +futures = "^0.1" +tokio-core = "^0.1" +tokio-io = "^0.1" +bytes = "0.4.9" xml5ever = "*" tendril = "*" -minidom = "0.8.0" -native-tls = "*" +minidom = "0.9.1" +# TODO: update to 0.2.0 +native-tls = "0.1" tokio-tls = "*" sasl = "*" rustc-serialize = "*" -jid = { version = "0.5.0", features = ["minidom"] } +jid = { version = "0.5.2", features = ["minidom"] } +#jid = { version = "0.5.0", features = ["minidom"] } domain = "0.2.1" -xmpp-parsers = "0.10.0" +xmpp-parsers = "0.10" idna = "*" try_from = "0.2.2" sha-1 = "0.7.0" diff --git a/src/xmpp_codec.rs b/src/xmpp_codec.rs index 97fe2a8..349b5ac 100644 --- a/src/xmpp_codec.rs +++ b/src/xmpp_codec.rs @@ -13,7 +13,7 @@ use minidom::Element; use xml5ever::tokenizer::{XmlTokenizer, TokenSink, Token, Tag, TagKind}; use xml5ever::interface::Attribute; use bytes::{BytesMut, BufMut}; -use quick_xml::writer::Writer as EventWriter; +use quick_xml::Writer as EventWriter; // const NS_XMLNS: &'static str = "http://www.w3.org/2000/xmlns/";