diff --git a/Cargo.toml b/Cargo.toml index 8d3a33f..4a08120 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,5 +24,7 @@ tera = "1.8.0" tokio = { version = "1.5.0", features = ["full"] } rfm = "0.8.0" app_env = { version = "0.1.0", path = "../defs/app_env" } +datastores = { version = "0.1.0", path = "../datastores/defs" } +connectors = { version = "0.1.0", path = "../datastores/connectors" } reqenv = { version = "0.1.0", path = "../handlers/reqenv" } kloud = { version = "0.1.0", path = "../defs/kloud" } diff --git a/src/monitor/defs.rs b/src/monitor/defs.rs index 270e79d..2d0f1f3 100644 --- a/src/monitor/defs.rs +++ b/src/monitor/defs.rs @@ -6,10 +6,10 @@ use std::path::Path; use app_env::{ appenv::{AppEnv}, - DataStore, applogs::AppLogs, // config::{Config} }; +use datastores::defs::DataStore; use crate::defs::{ProviderName}; use kloud::utils::load_fs_content; use crate::clouds::defs::{ Cloud }; @@ -61,7 +61,6 @@ impl RuleContext { RuleContext::Ip(c) => format!("{}",c), } } - } #[derive(Eq, PartialEq, Clone, Serialize, Debug, Deserialize)]