diff --git a/src/lib.rs b/src/lib.rs index 7d46019..f6fa086 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -87,14 +87,14 @@ pub mod validator; use std::io::Error; +pub use crate::utils::VerifiedConfig; use biblatex::Entry; use utils::{BiblatexUtils, CoreUtils}; use validator::ArticleFileData; - pub struct Prepyrus {} impl Prepyrus { - pub fn verify_config(args: &Vec) -> utils::VerifiedConfig { + pub fn verify_config(args: &Vec) -> VerifiedConfig { CoreUtils::verify_config(args) } diff --git a/src/main.rs b/src/main.rs index 6268052..3ffec91 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -use prepyrus::{utils::VerifiedConfig, Prepyrus}; +use prepyrus::{Prepyrus, VerifiedConfig}; fn main() { let args: Vec = std::env::args().collect();