Remove unused base64 imports.
This commit is contained in:
parent
0328ec446a
commit
b307652421
5 changed files with 0 additions and 6 deletions
|
@ -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]
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -327,7 +327,6 @@ generate_element!(
|
|||
mod tests {
|
||||
use super::*;
|
||||
use crate::hashes::Algo;
|
||||
use base64;
|
||||
|
||||
#[cfg(target_pointer_width = "32")]
|
||||
#[test]
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue