Cargo.toml, echo_bot: update xmpp-parsers to 0.7.0

Emmanuel Gil Peyrot created

Change summary

Cargo.toml           | 2 +-
examples/echo_bot.rs | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)

Detailed changes

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"

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;