summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-07-18 22:20:51 +0200
committerpennae <github@quasiparticle.net>2022-07-19 00:06:14 +0200
commit3b262297057a148d03d2a177908039f068a4b110 (patch)
treec5b2e6c97c4f33bafc98f4ed7fc27446ddc53796
parent0d5f948b5a5d52de08b65ff1a91132e8a2aa1d33 (diff)
downloadminor-skulk-3b262297057a148d03d2a177908039f068a4b110.tar.gz
minor-skulk-3b262297057a148d03d2a177908039f068a4b110.tar.xz
minor-skulk-3b262297057a148d03d2a177908039f068a4b110.zip
don't use lettre connection pools
we'll send mail so rarely, keeping a connection open at all times just spams syslog
-rw-r--r--Cargo.toml6
1 files changed, 5 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 4025383..9a67b16 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -18,7 +18,6 @@ hkdf = "0.12.3"
hmac = "0.12.1"
humantime-serde = "1.1.1"
lazy_static = "1.4"
-lettre = { version = "0.10", features = [ "tokio1", "tokio1-native-tls", "serde" ] }
password-hash = "0.4"
rand = "0.8.5"
rocket = { version = "0.5.0-rc.2", features = [ "json" ] }
@@ -32,6 +31,11 @@ url = "2.2.2"
validator = { version = "0.15", features = [ "derive" ] }
web-push = "0.9.2"
+[dependencies.lettre]
+version = "0.10"
+default-features = false
+features = [ "smtp-transport", "hostname", "builder", "tokio1-native-tls", "serde" ]
+
[dev-dependencies]
hex-literal = "0.3.4"