Remove now-useless "extern crate"s.
This commit is contained in:
parent
24b2ff1851
commit
3aba4e7070
4 changed files with 1 additions and 34 deletions
|
@ -1,11 +1,3 @@
|
|||
extern crate futures;
|
||||
extern crate tokio;
|
||||
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 try_from::TryFrom;
|
||||
|
|
|
@ -1,11 +1,3 @@
|
|||
extern crate futures;
|
||||
extern crate tokio;
|
||||
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::str::FromStr;
|
||||
|
|
|
@ -115,7 +115,7 @@ impl Future for Connecter {
|
|||
Ok(Async::NotReady)
|
||||
}
|
||||
Ok(Async::Ready(srv_result)) => {
|
||||
let mut srv_map: BTreeMap<_, _> =
|
||||
let srv_map: BTreeMap<_, _> =
|
||||
srv_result.iter()
|
||||
.map(|srv| (srv.priority(), (srv.target().clone(), srv.port())))
|
||||
.collect();
|
||||
|
|
17
src/lib.rs
17
src/lib.rs
|
@ -2,23 +2,6 @@
|
|||
|
||||
//! XMPP implemeentation with asynchronous I/O using Tokio.
|
||||
|
||||
extern crate futures;
|
||||
extern crate tokio;
|
||||
extern crate tokio_io;
|
||||
extern crate tokio_codec;
|
||||
extern crate bytes;
|
||||
extern crate xml5ever;
|
||||
extern crate quick_xml;
|
||||
extern crate minidom;
|
||||
extern crate native_tls;
|
||||
extern crate tokio_tls;
|
||||
extern crate sasl;
|
||||
extern crate jid;
|
||||
extern crate trust_dns_resolver;
|
||||
extern crate trust_dns_proto;
|
||||
extern crate idna;
|
||||
extern crate xmpp_parsers;
|
||||
extern crate try_from;
|
||||
#[macro_use]
|
||||
extern crate derive_error;
|
||||
|
||||
|
|
Loading…
Reference in a new issue