From 6e506fbc57313fd14d0dbe78e46559b8e477807c Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 23 Jul 2017 19:03:29 +0100 Subject: [PATCH] Cargo.toml, echo_bot: update xmpp-parsers to 0.7.0 --- Cargo.toml | 2 +- examples/echo_bot.rs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 560305c..42de0ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ sasl = "*" rustc-serialize = "*" jid = "*" domain = "0.2.1" -xmpp-parsers = "0.6.0" +xmpp-parsers = "0.7.0" idna = "*" try_from = "0.2.2" sha-1 = "0.4.1" diff --git a/examples/echo_bot.rs b/examples/echo_bot.rs index 40b20ac..3f6a4ab 100644 --- a/examples/echo_bot.rs +++ b/examples/echo_bot.rs @@ -1,15 +1,14 @@ -#![feature(try_from)] - extern crate futures; extern crate tokio_core; extern crate tokio_xmpp; extern crate jid; extern crate minidom; extern crate xmpp_parsers; +extern crate try_from; use std::env::args; use std::process::exit; -use std::convert::TryFrom; +use try_from::TryFrom; use tokio_core::reactor::Core; use futures::{Future, Stream, Sink, future}; use tokio_xmpp::Client;