1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-07-22 12:08:20 +00:00

Update lettre to latest master

This commit is contained in:
Daniel García 2020-05-03 17:41:53 +02:00
commit 63cbd9ef9c
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
4 changed files with 96 additions and 173 deletions

View file

@ -45,7 +45,9 @@ use std::option::NoneError as NoneErr;
use std::time::SystemTimeError as TimeErr;
use u2f::u2ferror::U2fError as U2fErr;
use yubico::yubicoerror::YubicoError as YubiErr;
use lettre::smtp::error::Error as LettreErr;
use lettre::error::Error as LettreErr;
use lettre::address::AddressError as AddrErr;
use lettre::transport::smtp::error::Error as SmtpErr;
#[derive(Serialize)]
pub struct Empty {}
@ -73,7 +75,9 @@ make_error! {
ReqError(ReqErr): _has_source, _api_error,
RegexError(RegexErr): _has_source, _api_error,
YubiError(YubiErr): _has_source, _api_error,
LetreErr(LettreErr): _has_source, _api_error,
LetreError(LettreErr):_has_source, _api_error,
AddressError(AddrErr):_has_source, _api_error,
SmtpError(SmtpErr): _has_source, _api_error,
}
// This is implemented by hand because NoneError doesn't implement neither Display nor Error