diff options
author | mustafa salih <mustafasalih1991@gmail.com> | 2021-01-14 05:41:01 +0300 |
---|---|---|
committer | mustafa salih <mustafasalih1991@gmail.com> | 2021-01-14 05:41:01 +0300 |
commit | 6a349a0e0282e56b03adbe02b41bfaf0cc3213f1 (patch) | |
tree | acdd23279a8fc837fa076739933b1269d74110fd /src/main.rs | |
parent | e829871f2d757c7414763992839a584038c7b443 (diff) |
orginized the code to seprated mods and deleted the lib file
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 41c83da..8d986d2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,10 @@ +mod config; +mod run; +mod types; +mod utils; + fn main() { - let config = rsblocks::load_config().unwrap(); - let blocks = rsblocks::Blocks::new(); - rsblocks::run(config, blocks); + let config = config::load_config().unwrap(); + let blocks = types::Blocks::new(); + run::run(config, blocks); } |