advotracker: get correct crates and modules into scope
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -5,14 +5,14 @@
|
|||||||
* SPDX-License-Identifier: (0BSD or MIT)
|
* SPDX-License-Identifier: (0BSD or MIT)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use chrono::{Local, DateTime};
|
//use chrono::{Local, DateTime};
|
||||||
use locales::t;
|
use locales::t;
|
||||||
//use serde::{Deserialize, Serialize};
|
//use serde::{Deserialize, Serialize};
|
||||||
use serde::Deserialize;
|
use serde::Deserialize;
|
||||||
use std::env;
|
use std::{env, process};
|
||||||
use std::{error::Error, process};
|
//use std::{error::Error, process};
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use tracing::{debug, trace, span, Level};
|
use tracing::{debug, trace, Level};
|
||||||
|
|
||||||
use orbtk::prelude::*;
|
use orbtk::prelude::*;
|
||||||
use orbtk::theme::DEFAULT_THEME_CSS;
|
use orbtk::theme::DEFAULT_THEME_CSS;
|
||||||
@@ -21,30 +21,6 @@ use orbtk::theme::DEFAULT_THEME_CSS;
|
|||||||
// The Main view
|
// The Main view
|
||||||
use advotracker::widgets::main_view;
|
use advotracker::widgets::main_view;
|
||||||
|
|
||||||
//use advotracker::services;
|
|
||||||
//use advotracker::sercices::policy_check::{import};
|
|
||||||
|
|
||||||
// helper modules
|
|
||||||
//pub mod base_state;
|
|
||||||
//pub mod keys;
|
|
||||||
|
|
||||||
// the frontend
|
|
||||||
//pub mod main_view;
|
|
||||||
|
|
||||||
// validation check of a policy data element given by its poliy code
|
|
||||||
//pub mod policycheck_view;
|
|
||||||
//ub mod policycheck_state;
|
|
||||||
//pub mod policycheck_menu;
|
|
||||||
|
|
||||||
// // manage list of policy data structures
|
|
||||||
// pub mod policylist_view;
|
|
||||||
// pub mod policylist_state;
|
|
||||||
|
|
||||||
// // manage policy data elements
|
|
||||||
// pub mod policydata_view;
|
|
||||||
// pub mod policydata_state;
|
|
||||||
// include modules
|
|
||||||
|
|
||||||
mod parse_args;
|
mod parse_args;
|
||||||
|
|
||||||
/// respect environment variables set in .env files
|
/// respect environment variables set in .env files
|
||||||
@@ -74,10 +50,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
use tracing_subscriber::fmt;
|
use tracing_subscriber::fmt;
|
||||||
use viperus::Viperus;
|
use viperus::Viperus;
|
||||||
|
|
||||||
use advotracker::services::policy_check::*;
|
//use advotracker::callbacks::policy_check::is_valid;
|
||||||
use advotracker::services::imports::allianzdirectcall::*;
|
use advotracker::services::imports::allianzdirectcall::*;
|
||||||
//use advotracker::data;
|
use advotracker::data::structures::{PolicyCode, PolicyDataList, PolicyList};
|
||||||
use advotracker::data::structures::{PolicyCode, PolicyDataList, PolicyData, PolicyList};
|
|
||||||
|
|
||||||
//static DEFAULT_FILTER: &str = concat!(module_path!(), "=", "trace");
|
//static DEFAULT_FILTER: &str = concat!(module_path!(), "=", "trace");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user