From 39a06862d4a71a6af812b2e04d9b9d8ce214fe7b Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Tue, 17 Dec 2019 18:29:43 +0100 Subject: [PATCH] fix(all): make native-tls the default tls library This makes lettre behave like the rest of the libraries where native-tls is the default tls library and rustls is optional --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d859d7e..a11703b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ name = "transport_smtp" [features] builder = ["email", "mime", "time", "base64", "uuid"] connection-pool = ["r2d2"] -default = ["file-transport", "smtp-transport", "sendmail-transport", "rustls-tls", "builder"] +default = ["file-transport", "smtp-transport", "sendmail-transport", "native-tls", "builder"] file-transport = ["serde", "serde_json"] rustls-tls = ["webpki", "rustls"] sendmail-transport = []