From b4aa4819fe9637d9046c96a13f0f23688199d604 Mon Sep 17 00:00:00 2001 From: n3tw0rth Date: Sat, 11 Jan 2025 22:19:24 +0530 Subject: [PATCH] refactor(config): removed unused fields --- README.md | 2 -- src/main.rs | 2 -- 2 files changed, 4 deletions(-) diff --git a/README.md b/README.md index 4fc8ed1..9c29abf 100644 --- a/README.md +++ b/README.md @@ -60,11 +60,9 @@ port = 465 host = "" [profiles.default] -print_output = true sendto = ["desktop","email.default"] [profiles.work] -print_output = true sendto = ["desktop","gchat.work","email.work"] [gchat.work] diff --git a/src/main.rs b/src/main.rs index 13e571c..1dd0fd3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,13 +42,11 @@ struct Config { } #[derive(Deserialize, Debug)] struct ProfileConfig { - print_output: Option, sendto: Vec, } #[derive(Deserialize, Debug)] struct GChatConfig { webhook: String, - api_key: String, } #[derive(Deserialize, Debug, Clone)] struct EmailConfig {