From 3b262297057a148d03d2a177908039f068a4b110 Mon Sep 17 00:00:00 2001 From: pennae Date: Mon, 18 Jul 2022 22:20:51 +0200 Subject: don't use lettre connection pools we'll send mail so rarely, keeping a connection open at all times just spams syslog --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3