Skip to content

Commit

Permalink
refactor(crypto-helper): refactor modules structure;
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBestTvarynka committed Dec 6, 2024
1 parent 5897ac3 commit 740448e
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use yew::{function_component, html, use_state, Callback, Html, Properties, Targe
use super::algorithm::Algorithm;
use crate::crypto_helper::algorithm::{COMPRESSION_ALGOS, ENCRYPTION_ALGOS, HASHING_ALGOS, HMAC_ALGOS};
use crate::crypto_helper::info::algo_search::AlgoSearch;
use crate::generate_algo_list_for_yew;

#[derive(PartialEq, Properties)]
pub struct InfoProps {
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion src/crypto_helper/macros.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#[macro_export]
macro_rules! generate_algo_list_for_yew {
(algo_list: $algo_list:expr, props: $props:expr) => {{
let mut sorted_algo_list = $algo_list.to_vec();
Expand Down
4 changes: 3 additions & 1 deletion src/crypto_helper.rs → src/crypto_helper/mod.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#[macro_use]
pub mod macros;

mod algorithm;
mod computations;
mod info;
mod input;
mod macros;
mod output;

pub use algorithm::Algorithm;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 740448e

Please sign in to comment.