Skip to content

Commit

Permalink
refactor: re-export config struct in lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Firgrep committed Aug 29, 2024
1 parent 717350a commit da9b636
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>) -> utils::VerifiedConfig {
pub fn verify_config(args: &Vec<String>) -> VerifiedConfig {
CoreUtils::verify_config(args)
}

Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use prepyrus::{utils::VerifiedConfig, Prepyrus};
use prepyrus::{Prepyrus, VerifiedConfig};

fn main() {
let args: Vec<String> = std::env::args().collect();
Expand Down

0 comments on commit da9b636

Please sign in to comment.