Remove two useless comments
[stakingWatchdog.git] / src / config.rs
index 30a4990..fbda142 100644 (file)
@@ -1,4 +1,4 @@
-use std::{fs::File, time};
+use std::fs::File;
 
 use anyhow::Result;
 use ron::{
@@ -10,11 +10,19 @@ use serde::{Deserialize, Serialize};
 #[derive(Debug, Clone, Deserialize, Serialize)]
 pub struct Config {
     pub pub_keys: Vec<String>,
+    pub smtp_relay_address: String,
+    pub smtp_login: String,
+    pub smtp_password: String,
 }
 
 impl Config {
     pub fn default() -> Self {
-        Config { pub_keys: vec![] }
+        Config {
+            pub_keys: vec![],
+            smtp_relay_address: "mail.something.com".to_string(),
+            smtp_login: "login".to_string(),
+            smtp_password: "password".to_string(),
+        }
     }
 
     pub fn read(file_path: &str) -> Result<Config> {