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
This commit is contained in:
Paolo Barbolini
2019-12-17 18:29:43 +01:00
parent 947af0acdd
commit 39a06862d4

View File

@@ -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 = []