diff --git a/src/utils/error.rs b/src/utils/error.rs index ce8cc51..cc1ee61 100644 --- a/src/utils/error.rs +++ b/src/utils/error.rs @@ -1,7 +1,5 @@ use std::{convert::From, net::AddrParseError, string::ParseError}; -use aes::cipher::typenum::IsLessOrEqual; - pub type Result = std::result::Result; #[derive(Debug)] diff --git a/src/utils/myrsa.rs b/src/utils/myrsa.rs index 95be7a7..b47c3cc 100644 --- a/src/utils/myrsa.rs +++ b/src/utils/myrsa.rs @@ -8,7 +8,6 @@ use rsa::{Pkcs1v15Encrypt, RsaPrivateKey, RsaPublicKey}; use std::fs::File; use std::io::Read; -use std::path::Path; pub fn gen_rsa_keys(mut dirpath: &str) { if dirpath.len() == 0 {