From 519955fb96d959e3fe76877f3ddbb88d3b3ecfc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Sat, 24 Aug 2024 11:52:13 +0200 Subject: [PATCH] make imap client skip malformed fetches --- Cargo.lock | 8 +++----- Cargo.toml | 4 +++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 65d30e6..cba9b6a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1239,7 +1239,7 @@ dependencies = [ [[package]] name = "email-lib" version = "0.25.0" -source = "git+https://git.sr.ht/~soywod/pimalaya#c9687fb0c30830316525ed33349e4d47617ee1ac" +source = "git+https://git.sr.ht/~soywod/pimalaya#667aa414db55c7067cbc6592d18bb3b3376049e6" dependencies = [ "async-trait", "chrono", @@ -2203,8 +2203,7 @@ dependencies = [ [[package]] name = "imap-client" version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08221b996310a500ceea28104e4d081531dc4be58e427f01393c777c4352fa93" +source = "git+https://github.com/soywod/imap-client.git#a6eea6f2310ffdc59f27070b0a062604ad9c0f9e" dependencies = [ "imap-next", "once_cell", @@ -2936,8 +2935,7 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" [[package]] name = "oauth-lib" version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fd81f50b3bdf9656f511a776e5a76c249e00d7ce5c0c9071d0b923177d9248d" +source = "git+https://git.sr.ht/~soywod/pimalaya#667aa414db55c7067cbc6592d18bb3b3376049e6" dependencies = [ "log", "oauth2", diff --git a/Cargo.toml b/Cargo.toml index 157f689..95e6d77 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ smtp = ["email-lib/smtp"] sendmail = ["email-lib/sendmail"] keyring = ["email-lib/keyring", "secret-lib?/keyring-tokio"] -oauth2 = ["dep:oauth-lib", "email-lib/oauth2"] +oauth2 = ["dep:oauth-lib", "email-lib/oauth2", "keyring"] wizard = ["dep:secret-lib", "email-lib/autoconfig"] pgp = [] @@ -89,3 +89,5 @@ uuid = { version = "0.8", features = ["v4"] } [patch.crates-io] email-lib = { git = "https://git.sr.ht/~soywod/pimalaya" } +oauth-lib = { git = "https://git.sr.ht/~soywod/pimalaya" } +imap-client = { git = "https://github.com/soywod/imap-client.git" }