update himalaya-lib for smtp and imap ssl option

This commit is contained in:
Clément DOUIN 2022-10-12 00:23:53 +02:00
parent 29f2bdd931
commit 98929d687b
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72
3 changed files with 5 additions and 6 deletions

View file

@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Fixed
* Fixed long subject decoding issue [#380].
## [0.6.0] - 2022-10-10 ## [0.6.0] - 2022-10-10
### Changed ### 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 [#340]: https://github.com/soywod/himalaya/issues/340
[#344]: https://github.com/soywod/himalaya/issues/344 [#344]: https://github.com/soywod/himalaya/issues/344
[#346]: https://github.com/soywod/himalaya/issues/346 [#346]: https://github.com/soywod/himalaya/issues/346
[#380]: https://github.com/soywod/himalaya/issues/380

2
Cargo.lock generated
View file

@ -519,7 +519,7 @@ dependencies = [
[[package]] [[package]]
name = "himalaya-lib" name = "himalaya-lib"
version = "0.3.1" 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 = [ dependencies = [
"ammonia", "ammonia",
"chrono", "chrono",

View file

@ -18,6 +18,8 @@ struct SmtpConfigDef {
pub host: String, pub host: String,
#[serde(rename = "smtp-port")] #[serde(rename = "smtp-port")]
pub port: u16, pub port: u16,
#[serde(rename = "smtp-ssl")]
pub ssl: Option<bool>,
#[serde(rename = "smtp-starttls")] #[serde(rename = "smtp-starttls")]
pub starttls: Option<bool>, pub starttls: Option<bool>,
#[serde(rename = "smtp-insecure")] #[serde(rename = "smtp-insecure")]
@ -36,6 +38,8 @@ pub struct ImapConfigDef {
pub host: String, pub host: String,
#[serde(rename = "imap-port")] #[serde(rename = "imap-port")]
pub port: u16, pub port: u16,
#[serde(rename = "imap-ssl")]
pub ssl: Option<bool>,
#[serde(rename = "imap-starttls")] #[serde(rename = "imap-starttls")]
pub starttls: Option<bool>, pub starttls: Option<bool>,
#[serde(rename = "imap-insecure")] #[serde(rename = "imap-insecure")]