Add async-std support to smtp transport (#531)

* Add async-std support to smtp transport

* fix Tls import

* fix copy paste

* too many imports

* Temporarely skip async-std native-tls support

* Fix panic message

* TlsParameters: use rustls when async-std is enabled
This commit is contained in:
Paolo Barbolini
2021-01-28 11:07:15 +01:00
committed by GitHub
parent 690b143ea3
commit 20d0f8f3ba
16 changed files with 348 additions and 26 deletions

View File

@@ -16,7 +16,7 @@ Several breaking changes were made between 0.9 and 0.10, but changes should be s
* Add `tokio` 0.2 and 1.0 support
* Add `rustls` support
* Add `async-std` support
* Add `async-std` support. NOTE: native-tls isn't supported when using async-std for the smtp transport.
* Allow enabling multiple SMTP authentication mechanisms
* Allow providing a custom message id
* Allow sending raw emails