From 316268d3a115f6466f71ad7fe794be8fdc6880fe Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 18 Dec 2018 16:38:14 +0100 Subject: [PATCH] Use edition 2018. --- Cargo.toml | 1 + src/lib.rs | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9d1aeed..d309aef 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 293c4a0..2861ef6 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};