Send an email in case of error
[stakingWatchdog.git] / Cargo.toml
index 1600ba7..c4c3a8a 100644 (file)
@@ -7,15 +7,24 @@ edition = "2021"
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
+anyhow = "1.0"
+itertools = "0.11"
+
 reqwest = { version = "0.11", features = [
     "blocking",
     "json",
 ], default-features = false }
-anyhow = "1.0"
-itertools = "0.11"
+
+lettre = { version = "0.10", features = [
+    "rustls-tls",
+    "smtp-transport",
+    "builder",
+], default-features = false }
+
 serde = { version = "1.0", features = ["derive"] }
 serde_json = "1.0"
-ron = "0.8" # Rust object notation, to load configuration files.
+ron = "0.8"                                        # Rust object notation, to load configuration files.
+
 
 [profile.release]
 codegen-units = 1