med_core 0.6.4

A Rust Powered Core Engine for M.E.D. Masking, Encryption, and Decryption CSV/JSON
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::{app::core::App, models::params::Params};

#[tokio::test]
async fn test_logger() {
    let new_params = Params {
        conf_path: "../demo/conf/conf_csv.yaml".to_owned(),
        debug: true,
        ..Default::default()
    };

    let new_app = App::new(new_params.clone()).await.unwrap();
    assert!(new_app.params.debug);
}