server: update clap and mockall

This commit is contained in:
Valentin Tolmer
2023-02-28 09:00:45 +01:00
committed by nitnelave
parent 28607c4744
commit 1b91cc8ac2
6 changed files with 111 additions and 120 deletions

View File

@@ -29,7 +29,7 @@ pub struct MailOptions {
pub user: String,
#[builder(default = r#"SecUtf8::from("")"#)]
pub password: SecUtf8,
#[builder(default = "SmtpEncryption::TLS")]
#[builder(default = "SmtpEncryption::Tls")]
pub smtp_encryption: SmtpEncryption,
/// Deprecated.
#[builder(default = "None")]