Commit graph

628 commits

Author SHA1 Message Date
Michael Bøcker-Larsen
74ef623fc5
docs: move flag + date documentation to AppendCmd 2020-12-20 13:09:57 +08:00
Michael Bøcker-Larsen
5053cfbb3e
feat: add 'flags' method to add multiple flags at once 2020-12-20 13:04:31 +08:00
Michael Bøcker-Larsen
b7bc842979
fix: correct lifetimes and types for append 2020-12-20 13:03:54 +08:00
Michael Bøcker-Larsen
e6341ccfc0
fix: pass session as &mut 2020-12-17 11:37:01 +08:00
Michael Bøcker-Larsen
cdf320fb0c
refactor: use AppendCmd instead of AppendOptions 2020-12-17 11:02:48 +08:00
Michael Bøcker-Larsen
24445c5c65
feat: add AppendCmd builder 2020-12-17 00:41:26 +08:00
Michael Bøcker-Larsen
469d338d5d
refactor: combine all append_* + introduce AppendOptions 2020-12-17 00:41:01 +08:00
Jon Gjengset
3386c26711
Bump version for append_with_date 2020-12-15 08:29:57 -08:00
Michael Bøcker-Larsen
ee56c8e42b
feat: allow setting sent date on APPEND (#174)
Fixes #60
2020-12-15 11:25:38 -05:00
mordak
8be583a9f7
CI: Only install components when needed. (#173) 2020-12-07 23:43:19 -05:00
Todd Mortimer
166a0cb6b3 Link to QRESYNC RFC section describing VANISHED vs EXPUNGE responses. 2020-12-06 15:49:11 -05:00
Todd Mortimer
5bb1500d14 Update CHANGELOG 2020-12-06 15:26:51 -05:00
Todd Mortimer
b87083c5b9 Bump minimum version.
Via nom6 dependency bitvec.
2020-12-06 15:26:51 -05:00
Todd Mortimer
a9788ad1e0 Add a Deleted type to wrap EXPUNGE and VANISHED responses.
EXPUNGE may return either a series of EXPUNGE responses each with
a single message sequence number, or a VANISHED response with a
sequence set of UIDs. This adds a wrapper enum and some associated
iterators to make it easy to handle these in the client.
2020-12-05 20:32:14 -05:00
Todd Mortimer
d381723deb Add non_exhaustive to Mailbox. 2020-11-14 16:52:03 -05:00
mordak
22dae40ab5
Fix typo in doc comment
Co-authored-by: Jon Gjengset <jon@thesquareplanet.com>
2020-11-14 16:45:50 -05:00
Todd Mortimer
c49e78b4d0 Update imap-proto and nom dependencies.
Add support for HIGHESTMODSEQ (RFC 4551) and VANISHED (RFC 7162),
which allows users to quickly synchronize to a mailbox by fetching
only changes since the last known highest mod sequence.
2020-11-11 11:37:33 -05:00
Todd Mortimer
b11b08954c Fix clippy manual_non_exhaustive lint. 2020-11-11 11:34:42 -05:00
Todd Mortimer
753e1b9db1 Fix trivial clippy warnings. 2020-11-11 11:25:21 -05:00
Jon Gjengset
7868e312ff
Release 2.3.0 with append_with_flags 2020-08-23 12:11:57 -04:00
mordak
ae07c9f31c
Add append_with_flags (#171)
Allows a client to set flags on a new message as it is appended to a mailbox.
2020-08-23 12:02:57 -04:00
Jon Gjengset
6c43b19f60
Release 2.2.0 2020-07-27 09:33:49 -04:00
timando
5794b0f871
Re-export Result and Error types (#170) 2020-07-27 09:28:02 -04:00
Jon Gjengset
83c0bf798f
Merge pull request #168 from wookietreiber/greeting-and-timeout
server greeting doc and timeout example
2020-06-22 14:19:34 -04:00
Christian Krause
0104330e9d
Add timeout example 2020-06-22 08:03:56 +02:00
Christian Krause
45a8fcf27e
Add note about server greeting to Client::new 2020-06-22 08:03:56 +02:00
Jon Gjengset
24ca28703f
Merge pull request #169 from jonhoo/ci-fixes
Make CI pass on `master` again
2020-06-21 15:05:22 -04:00
Jon Gjengset
f0ebe4b568
Update remote CI deps 2020-06-21 13:23:57 -04:00
Jon Gjengset
e6268cbc47
Bump MSRV 2020-06-21 13:21:16 -04:00
Jon Gjengset
008dfdccfa
Merge pull request #165 from rvuong/added-starttls-example
Added: STARTTLS example
2020-05-20 09:15:45 -04:00
Remy Vuong
1b38401878 Changed: description update, plus code formatting 2020-05-20 08:34:13 +02:00
Remy Vuong
e46b9dcfa1 Added: STARTTLS example 2020-05-19 18:24:08 +02:00
Jon Gjengset
aafdcfaceb
Merge pull request #164 from rvuong/fixes-a-minor-typo
Changed: a typo was fixed
2020-05-19 10:27:51 -04:00
sergey
a29b6f0cce Adding METADATA support 2020-05-19 15:58:43 +03:00
Remy Vuong
d6a6592420 Changed: a typo was fixed 2020-05-19 10:41:38 +02:00
Jon Gjengset
02ce8cb511
Bump MSRV for non_exhaustive 2020-05-18 14:28:08 -04:00
Jon Gjengset
cf4aed569b
Make UnsolicitedResponse non_exhaustive
That way, as we discover additional unilateral responses in the future,
we won't have to make a breaking change to add them.
2020-05-18 14:12:36 -04:00
Jon Gjengset
0c3ce7943d
Expose unilateral mailbox flag changes
This is a backwards incompatible change, since it adds a variant to a
public enum.
2020-05-18 14:12:13 -04:00
Jon Gjengset
fbdb5d3be4
Use type alias for better docs 2020-05-18 14:11:03 -04:00
Jon Gjengset
464c59e6c1
Expunge holds a Seq 2020-05-18 14:10:28 -04:00
Jon Gjengset
bba277b29d
Release with handling of unilateral FLAGS 2020-05-18 14:08:54 -04:00
Jon Gjengset
1c30076326
Merge pull request #162 from jonhoo/unilateral-flags
FLAGS can be sent as unilateral response
2020-05-18 14:08:16 -04:00
Jon Gjengset
b74bfa79c6
FLAGS can be sent as unilateral response
Fixes #161 (well, the side-issue in #161).
2020-05-18 14:03:16 -04:00
Jon Gjengset
de796b2d39
Bump version for new, richer wait_with_timeout 2020-05-12 08:43:05 -04:00
Jon Gjengset
3db3e8b69e
Bump outdated dev-dep 2020-05-12 08:42:32 -04:00
Jon Gjengset
2639a1df63
Fix BSD ci 2020-05-12 08:41:12 -04:00
Jon Gjengset
c2062a5f07
Merge pull request #159 from mredaelli/master
Support timing out wait on IDLE
2020-05-12 08:40:39 -04:00
Massimo Redaelli
80a0aae69d Support timing out wait on IDLE 2020-05-12 09:53:13 +02:00
Jon Gjengset
22f9ba0ddf
Bump version for Dovecot IDLE fix 2020-04-20 10:32:12 -04:00
Jon Gjengset
d6f6615935
Merge pull request #160 from mordak/idle-ok-still-here
Handle Dovecot's periodic IDLE notification messages ("OK Still here").
2020-04-20 10:31:33 -04:00