Reorganized modules, made rules a separate struct

Rules are now a separate struct, and the `rules` member of
`settings::Settings` is now a `Vec<settings::rule::Rule`.

Several elements were made private, now can be accessed through
dedicated methods
This commit is contained in:
2020-04-04 22:44:08 +02:00
parent dbbb1616dd
commit 5f30c6d636
5 changed files with 139 additions and 58 deletions

View File

@@ -19,6 +19,7 @@ use log::{info, warn};
use simplelog::*;
pub mod settings;
mod utils;
/// Initializes the crate
///