From 98929d687b66efcfdfd78e5e2142653c3bff9406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Wed, 12 Oct 2022 00:23:53 +0200 Subject: [PATCH] update himalaya-lib for smtp and imap ssl option --- CHANGELOG.md | 5 ----- Cargo.lock | 2 +- src/config/prelude.rs | 4 ++++ 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3643ddd6..cddf721f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Fixed - -* Fixed long subject decoding issue [#380]. - ## [0.6.0] - 2022-10-10 ### Changed @@ -575,4 +571,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#340]: https://github.com/soywod/himalaya/issues/340 [#344]: https://github.com/soywod/himalaya/issues/344 [#346]: https://github.com/soywod/himalaya/issues/346 -[#380]: https://github.com/soywod/himalaya/issues/380 diff --git a/Cargo.lock b/Cargo.lock index d4bc307b..7398d518 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -519,7 +519,7 @@ dependencies = [ [[package]] name = "himalaya-lib" version = "0.3.1" -source = "git+https://git.sr.ht/~soywod/himalaya-lib?branch=develop#aa57481c133a75e555952cde98de3041c51c272d" +source = "git+https://git.sr.ht/~soywod/himalaya-lib?branch=develop#883b4d9217e52d67596eb73b5bf77f89abdea0f6" dependencies = [ "ammonia", "chrono", diff --git a/src/config/prelude.rs b/src/config/prelude.rs index dbb6a5fc..0aae9425 100644 --- a/src/config/prelude.rs +++ b/src/config/prelude.rs @@ -18,6 +18,8 @@ struct SmtpConfigDef { pub host: String, #[serde(rename = "smtp-port")] pub port: u16, + #[serde(rename = "smtp-ssl")] + pub ssl: Option, #[serde(rename = "smtp-starttls")] pub starttls: Option, #[serde(rename = "smtp-insecure")] @@ -36,6 +38,8 @@ pub struct ImapConfigDef { pub host: String, #[serde(rename = "imap-port")] pub port: u16, + #[serde(rename = "imap-ssl")] + pub ssl: Option, #[serde(rename = "imap-starttls")] pub starttls: Option, #[serde(rename = "imap-insecure")]