diff --git a/Cargo.toml b/Cargo.toml index 9d1aeed54e06c42cdf43191af739fce6c2329301..d309aef6d50618c86f423581201e7404609af509 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,6 +13,7 @@ documentation = "https://docs.rs/jid" readme = "README.md" keywords = ["xmpp", "jid"] license = "LGPL-3.0+" +edition = "2018" [badges] gitlab = { repository = "xmpp-rs/jid-rs" } diff --git a/src/lib.rs b/src/lib.rs index 293c4a0ccfc04c97fbb17de4bfa8bb3b3656cbe6..2861ef6eb4cdd1a71bb02498152292ea441f6e18 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,6 @@ //! //! For usage, check the documentation on the `Jid` struct. -extern crate failure; #[macro_use] extern crate failure_derive; use std::fmt; @@ -381,9 +380,6 @@ impl Jid { } -#[cfg(feature = "minidom")] -extern crate minidom; - #[cfg(feature = "minidom")] use minidom::{IntoAttributeValue, IntoElements, ElementEmitter};