diff --git a/src/crypto_helper.rs b/src/crypto_helper.rs index 0e9e0dc2..d84e33fb 100644 --- a/src/crypto_helper.rs +++ b/src/crypto_helper.rs @@ -16,7 +16,7 @@ use yew::{function_component, html, use_effect_with, use_state, Callback, Html}; use yew_hooks::{use_clipboard, use_local_storage, use_location}; use yew_notifications::{use_notification, Notification, NotificationType}; -use self::computations::{process_krb_cipher, process_krb_hmac, process_rsa, process_zlib, process_argon2}; +use self::computations::{process_argon2, process_krb_cipher, process_krb_hmac, process_rsa, process_zlib}; use crate::crypto_helper::computations::process_bcrypt; use crate::url_query_params::generate_crypto_helper_link; diff --git a/src/crypto_helper/algorithm.rs b/src/crypto_helper/algorithm.rs index a3282a30..f1b873fc 100644 --- a/src/crypto_helper/algorithm.rs +++ b/src/crypto_helper/algorithm.rs @@ -338,7 +338,6 @@ pub enum ZlibMode { Compress, Decompress, } - impl From for bool { fn from(mode: ZlibMode) -> Self { match mode { diff --git a/src/crypto_helper/input/argon2.rs b/src/crypto_helper/input/argon2.rs index 31eb7dff..26aa1132 100644 --- a/src/crypto_helper/input/argon2.rs +++ b/src/crypto_helper/input/argon2.rs @@ -1,10 +1,9 @@ use web_sys::HtmlInputElement; -use yew::{classes, function_component, html, html::TargetCast, Callback, Html, Properties}; +use yew::html::TargetCast; +use yew::{classes, function_component, html, Callback, Html, Properties}; -use crate::{ - common::{build_byte_input, BytesFormat, Switch}, - crypto_helper::algorithm::{Argon2Action, Argon2HashAction, Argon2Input as Argon2InputData}, -}; +use crate::common::{build_byte_input, BytesFormat, Switch}; +use crate::crypto_helper::algorithm::{Argon2Action, Argon2HashAction, Argon2Input as Argon2InputData}; #[derive(PartialEq, Properties, Clone)] pub struct Argon2InputProps {