From 4df6e6ff94e0f221a0cb4eedc276d7403a1f4d21 Mon Sep 17 00:00:00 2001 From: OMGeeky Date: Sat, 4 May 2024 00:29:12 +0200 Subject: [PATCH] add notifier_url --- Cargo.toml | 2 +- src/lib.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7388407..5f6da3c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "twba-backup-config" -version = "0.1.7" +version = "0.1.8" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/lib.rs b/src/lib.rs index 81c233e..bde4b65 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -53,6 +53,8 @@ impl Conf { #[derive(Debug, Serialize, Deserialize, Clone, Ord, PartialOrd, Eq, PartialEq, Hash, Config)] pub struct Notifier { + /// The URL where the notifier service is reachable under. + pub notifier_url: String, /// The URL for the webhook pub webhook_url: Option, pub smtp: Option,