diff --git a/Cargo.toml b/Cargo.toml index 560305c8..42de0ff8 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 40b20ac9..3f6a4ab5 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;