diff --git a/src/caps.rs b/src/caps.rs index e5e998b1..32f8f573 100644 --- a/src/caps.rs +++ b/src/caps.rs @@ -10,7 +10,6 @@ use crate::util::error::Error; use crate::hashes::{Algo, Hash}; use crate::ns; use crate::presence::PresencePayload; -use base64; use blake2::VarBlake2b; use digest::{Digest, Input, VariableOutput}; use minidom::Element; @@ -218,7 +217,6 @@ pub fn query_caps(caps: Caps) -> DiscoInfoQuery { mod tests { use super::*; use crate::caps; - use base64; #[cfg(target_pointer_width = "32")] #[test] diff --git a/src/ecaps2.rs b/src/ecaps2.rs index d408b28d..8722d065 100644 --- a/src/ecaps2.rs +++ b/src/ecaps2.rs @@ -9,7 +9,6 @@ use crate::disco::{DiscoInfoQuery, DiscoInfoResult, Feature, Identity}; use crate::hashes::{Algo, Hash}; use crate::ns; use crate::presence::PresencePayload; -use base64; use blake2::VarBlake2b; use digest::{Digest, Input, VariableOutput}; use sha2::{Sha256, Sha512}; diff --git a/src/hashes.rs b/src/hashes.rs index e3f73ca8..9987407a 100644 --- a/src/hashes.rs +++ b/src/hashes.rs @@ -6,7 +6,6 @@ use crate::util::error::Error; use crate::util::helpers::Base64; -use base64; use minidom::IntoAttributeValue; use std::num::ParseIntError; use std::ops::{Deref, DerefMut}; diff --git a/src/jingle_ft.rs b/src/jingle_ft.rs index 9902fed7..f3fc9a33 100644 --- a/src/jingle_ft.rs +++ b/src/jingle_ft.rs @@ -327,7 +327,6 @@ generate_element!( mod tests { use super::*; use crate::hashes::Algo; - use base64; #[cfg(target_pointer_width = "32")] #[test] diff --git a/src/util/helpers.rs b/src/util/helpers.rs index b51b18a9..a455a139 100644 --- a/src/util/helpers.rs +++ b/src/util/helpers.rs @@ -5,7 +5,6 @@ // file, You can obtain one at http://mozilla.org/MPL/2.0/. use crate::util::error::Error; -use base64; /// Codec for plain text content. pub struct PlainText;