From 29725b9d4d553d499fc3686acb39ab2e0d6de572 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 4 May 2017 01:20:22 +0100 Subject: [PATCH] Update to minidom 0.3.0. --- Cargo.toml | 2 +- src/delay.rs | 3 +-- src/jingle_ft.rs | 3 +-- src/message.rs | 3 +-- src/presence.rs | 3 +-- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3f13f303..ea7eecef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ categories = ["parsing", "network-programming"] license = "MPL-2.0" [dependencies] -minidom = "0.2.0" +minidom = "0.3.0" jid = "0.2.0" base64 = "0.5.0" digest = "0.5.0" diff --git a/src/delay.rs b/src/delay.rs index 06c980f6..2b2149eb 100644 --- a/src/delay.rs +++ b/src/delay.rs @@ -4,8 +4,7 @@ // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. -use minidom::{Element, IntoElements}; -use minidom::convert::ElementEmitter; +use minidom::{Element, IntoElements, ElementEmitter}; use error::Error; use jid::Jid; diff --git a/src/jingle_ft.rs b/src/jingle_ft.rs index 2028fe93..7cd729e1 100644 --- a/src/jingle_ft.rs +++ b/src/jingle_ft.rs @@ -7,8 +7,7 @@ use hashes; use hashes::{Hash, parse_hash}; -use minidom::{Element, IntoElements}; -use minidom::convert::ElementEmitter; +use minidom::{Element, IntoElements, ElementEmitter}; use error::Error; use ns; diff --git a/src/message.rs b/src/message.rs index 3550e810..6fcc681d 100644 --- a/src/message.rs +++ b/src/message.rs @@ -7,8 +7,7 @@ use std::convert::TryFrom; use std::str::FromStr; -use minidom::{Element, IntoElements, IntoAttributeValue}; -use minidom::convert::ElementEmitter; +use minidom::{Element, IntoElements, IntoAttributeValue, ElementEmitter}; use jid::Jid; diff --git a/src/presence.rs b/src/presence.rs index 3b3c1faa..bf7b57df 100644 --- a/src/presence.rs +++ b/src/presence.rs @@ -7,8 +7,7 @@ use std::str::FromStr; use std::collections::BTreeMap; -use minidom::{Element, IntoElements, IntoAttributeValue}; -use minidom::convert::ElementEmitter; +use minidom::{Element, IntoElements, IntoAttributeValue, ElementEmitter}; use jid::Jid;