Use edition 2018.
This commit is contained in:
parent
d48473648b
commit
316268d3a1
2 changed files with 1 additions and 4 deletions
|
@ -13,6 +13,7 @@ documentation = "https://docs.rs/jid"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
keywords = ["xmpp", "jid"]
|
keywords = ["xmpp", "jid"]
|
||||||
license = "LGPL-3.0+"
|
license = "LGPL-3.0+"
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
gitlab = { repository = "xmpp-rs/jid-rs" }
|
gitlab = { repository = "xmpp-rs/jid-rs" }
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
//!
|
//!
|
||||||
//! For usage, check the documentation on the `Jid` struct.
|
//! For usage, check the documentation on the `Jid` struct.
|
||||||
|
|
||||||
extern crate failure;
|
|
||||||
#[macro_use] extern crate failure_derive;
|
#[macro_use] extern crate failure_derive;
|
||||||
|
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
@ -381,9 +380,6 @@ impl Jid {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "minidom")]
|
|
||||||
extern crate minidom;
|
|
||||||
|
|
||||||
#[cfg(feature = "minidom")]
|
#[cfg(feature = "minidom")]
|
||||||
use minidom::{IntoAttributeValue, IntoElements, ElementEmitter};
|
use minidom::{IntoAttributeValue, IntoElements, ElementEmitter};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue