Skip to content

Commit 18c585b

Browse files
committed
ref: heavy refactoring
1 parent 63cfaf4 commit 18c585b

File tree

22 files changed

+58
-25
lines changed

22 files changed

+58
-25
lines changed
File renamed without changes.
File renamed without changes.

src/analysis/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pub mod analyze;
2+
pub mod extract;
3+
pub mod manipulation;

src/cli.rs renamed to src/app/cli.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
use ice::{base, caesar, extract, general, hasher, manipulation, morse, services, xor};
1+
use crate::{
2+
analysis::{extract, manipulation},
3+
base::base,
4+
ciphers::{caesar, general::general, morse, xor},
5+
hasher::hasher,
6+
utils::services,
7+
};
28
use pico_args::Arguments;
39

410
#[derive(Debug)]
File renamed without changes.

src/app/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pub mod cli;
2+
pub mod constants;

src/base.rs renamed to src/base/base.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
use crate::utils;
2-
use crate::utils::Chunkify;
1+
use crate::utils::utils;
2+
use crate::utils::utils::Chunkify;
33

44
pub fn b64(s: &str) -> String {
55
match base64::decode(s) {

src/base/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pub mod base;
File renamed without changes.

0 commit comments

Comments
 (0)