Jon Gjengset
d69a1ba0ab
bump ouroboros
2022-04-14 18:39:34 -07:00
Jon Gjengset
de9ccbc515
bump greenmail
2022-04-14 18:36:46 -07:00
Jon Gjengset
0217125962
Merge pull request #225 from CrispinStichart/add-gmail-labels
...
Add support for Gmail Labels
2022-04-14 18:34:56 -07:00
Crispin Stichart
b22ce3a605
Add support for Gmail Labels
2022-04-12 11:33:02 -05:00
Jon Gjengset
afbc5118f2
Release alpha 6
2022-02-19 12:18:25 -08:00
Jon Gjengset
9fdff81d19
Bump to 2021 edition
2022-02-19 11:06:33 -08:00
Jon Gjengset
7b553fcb19
Bump dependencies
2022-02-19 11:05:35 -08:00
Jon Gjengset
bba160920c
No CI badge
2022-02-19 11:03:41 -08:00
Jon Gjengset
60e1260d3c
Merge pull request #223 from jonhoo/ci
...
Move CI to GitHub Actions
2022-02-19 11:02:54 -08:00
Jon Gjengset
7091cea742
Move CI to GitHub Actions
2022-02-19 10:59:01 -08:00
Jon Gjengset
6808dfef79
Merge pull request #218 from lu-fennell/improved-validation-error-messages-simple-pr
...
Improve error message for `ValidationError`
2021-11-10 21:03:04 -05:00
Lu Fennell
8147f17296
Improve error message for ValidationError
...
In addition to the invalid character, the error now also contains a
`command_synopsis` and `argument` which identifies the command and
argument that failed to validate.
2021-11-10 10:12:03 +01:00
Jon Gjengset
e963d694e4
Update MSRV for bitflags
2021-11-09 18:36:32 -08:00
Jon Gjengset
b9b9328e18
Manual Default for Mailbox is intentional
2021-11-09 18:32:19 -08:00
Jon Gjengset
88417339f9
Merge pull request #208 from mordak/zero-copy
...
Convert ZeroCopy to ouroboros.
2021-08-15 20:41:09 -04:00
Jon Gjengset
b656618987
Merge pull request #212 from mordak/logout_bye
...
Handle BYE responses explicitly.
2021-08-11 21:55:23 -04:00
Todd Mortimer
57834a1466
Use get() in tests
2021-07-31 20:04:22 -04:00
Todd Mortimer
efd0eadafe
Implement get() for Fetch and Name
2021-07-31 19:26:48 -04:00
Todd Mortimer
54bca3eddb
Add into_owned() for Fetch, Flag, and Name.
2021-07-31 18:22:59 -04:00
Todd Mortimer
fadb28a32b
Revert accidental static lifetime to non-static.
2021-07-25 22:13:53 -04:00
Todd Mortimer
7e581a6b5e
Use std::iter::once instead of Some.
2021-07-25 22:13:16 -04:00
Todd Mortimer
d6429512e8
Handle BYE responses explicitly.
...
In Session::logout(), ignore it. Fixes #210 .
2021-07-25 21:21:07 -04:00
Todd Mortimer
826e6d413b
Fix tests and examples.
2021-07-17 16:51:35 -04:00
Todd Mortimer
3f2331423c
Rework Name and Fetch to use ouroboros.
...
Use a helper function in `parse_many_into` to support parsing into
any container that implements Extend. Refactor Capabilities to use it.
Delete ZeroCopy and associated bits.
Move Flag into it's own module in types.
2021-07-17 16:32:26 -04:00
Todd Mortimer
c2d3aed978
Convert Capabilities to ouroboros.
2021-07-05 20:11:36 -04:00
♫ Christian Krause ♫
d86d1e228b
fixes doc typos ( #204 )
2021-06-03 01:00:11 -04:00
mordak
d8d69a363b
Idle builder ( #202 )
2021-05-26 21:55:42 -04:00
mordak
07121152d7
Update CHANGELOG for feature name change. ( #203 )
2021-05-25 22:43:07 -04:00
mordak
b7a2641725
Change "tls" feature to "native-tls" ( #201 )
...
Change "tls" feature to "native-tls" for clarity and obvious distinction with rustls-tls.
2021-05-24 21:46:49 -04:00
comex
55cd6465c7
Support parsing STATUS responses. (v2) ( #192 )
...
Fixes #185 .
2021-05-16 18:12:16 -04:00
Clément DOUIN
1055dd6e43
Update changelog for v3 ( #199 )
2021-05-13 15:34:23 -04:00
Jon Gjengset
25801b3d65
Release 3.0-alpha.4 with new ClientBuilder
2021-05-10 19:40:51 -07:00
mordak
7204697dd9
Add ClientBuilder helper to make setting up TLS connections easy. ( #197 )
...
Also replaces connect() and connect_starttls() with ClientBuilder.
2021-05-10 22:39:46 -04:00
mordak
c443a3ab5d
Fix doc warnings. ( #198 )
2021-05-07 22:07:34 -04:00
mordak
1db492ed3b
Add test for dovecot unsolicited OK progress message. ( #196 )
2021-04-25 19:59:05 -04:00
ValHeimer
18ebf56c0c
3.0.0-alpha.3: missing 'std' feature for 'chrono' ( #195 )
...
Hi,
Since the commit 514735e920 which remove the "default features" for the dependency 'chrono', I now have this error :
```
imap-3.0.0-alpha.3/src/client.rs:202:37
format!(" \"{}\"", date.format("%d-%h-%Y %T %z"))
^^^^ method not found in `DateTime<FixedOffset>>`
```
So I think we have to add back the 'std' feature to 'chrono'
```
chrono = {version = "0.4", default-features = false, features = ["std"]}
```
(I know that I could add this dependency to my project Cargo.toml (and I did), but I think this should be in rust-imap)
2021-04-21 09:42:42 -07:00
Clément DOUIN
2898e19530
RFC 5256 - SORT command ( #180 )
2021-04-19 23:03:23 -04:00
Jon Gjengset
400e80a104
Release 3.0 alpha.3 with new IDLE interface
2021-04-19 19:35:01 -07:00
Jon Gjengset
382c025513
Merge pull request #186 from mordak/idle-responses
...
Pass IDLE responses to caller.
2021-04-19 22:30:12 -04:00
Todd Mortimer
48db46106c
Merge remote-tracking branch 'origin/master' into idle-responses
2021-04-19 20:51:43 -04:00
Todd Mortimer
1cabb3bb56
Promote Unexpected error from ParseError to Error.
2021-04-19 20:39:59 -04:00
Todd Mortimer
08de3362b4
Move debug assertion.
2021-04-08 20:08:51 -04:00
Todd Mortimer
4232c773b5
wait to wait_while
2021-04-08 19:50:20 -04:00
Todd Mortimer
692dcdd27e
Move buffer management into parse match arms.
2021-04-07 21:18:17 -04:00
Todd Mortimer
584c9542d8
Reorder variants alphabetically in try_from.
2021-04-07 20:17:00 -04:00
Todd Mortimer
f2d7919f60
Do not wrap AttributeValue.
2021-04-07 20:10:33 -04:00
Todd Mortimer
efa02f07ab
Remove wrapper around ResponseCode.
2021-04-07 20:02:34 -04:00
Todd Mortimer
7eb2cfde74
Use bool instead of CallbackAction.
2021-04-07 19:45:04 -04:00
Todd Mortimer
5942553e7d
Use iterators for Flag::from_strs()
2021-04-07 18:09:46 -04:00
Todd Mortimer
11adcfc97b
Tweak to how we handle incomplete parse.
2021-04-06 22:41:41 -04:00