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
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
Jon Gjengset
400e80a104
Release 3.0 alpha.3 with new IDLE interface
2021-04-19 19:35:01 -07: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
alex wennerberg
bce16aae66
Remove default-features from nom
2021-04-05 23:48:35 -07:00
alex wennerberg
514735e920
Remove unused features from chrono
2021-04-05 23:36:20 -07:00
Todd Mortimer
2874bfd933
Add IDLE example.
2021-03-28 15:27:39 -04:00
Jon Gjengset
bd0a04567b
Bump imap-proto
2021-03-14 18:10:15 -07:00
Jon Gjengset
3b8c239984
Adopt newly released imap-proto changes
2021-03-08 18:00:00 -08:00
Jon Gjengset
731c92cce3
Prepare for next alpha
2021-03-06 15:35:31 -08:00
Jon Gjengset
7860b14088
Revert "Release first 3.0.0 alpha"
...
This reverts commit 8490407d2e .
2021-03-06 15:35:00 -08:00
Jon Gjengset
8490407d2e
Release first 3.0.0 alpha
2021-03-06 15:34:42 -08:00
Jon Gjengset
9b78550394
Adopt latest imap_proto and expose error status codes
2021-03-06 14:53:14 -08:00
Jon Gjengset
137f3de14f
Merge branch 'master' into mod_seq_vanished
2021-03-06 12:40:30 -05:00
Jon Gjengset
7e2ab19409
Prepare for 3.0.0 alpha
2021-03-06 09:36:43 -08:00
Jon Gjengset
bf9191527f
Release 2.4.1
2021-01-12 20:32:23 -08:00
Jon Gjengset
3386c26711
Bump version for append_with_date
2020-12-15 08:29:57 -08: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
Jon Gjengset
7868e312ff
Release 2.3.0 with append_with_flags
2020-08-23 12:11:57 -04:00
Jon Gjengset
6c43b19f60
Release 2.2.0
2020-07-27 09:33:49 -04:00
Jon Gjengset
fbdb5d3be4
Use type alias for better docs
2020-05-18 14:11:03 -04:00
Jon Gjengset
bba277b29d
Release with handling of unilateral FLAGS
2020-05-18 14:08:54 -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
22f9ba0ddf
Bump version for Dovecot IDLE fix
2020-04-20 10:32:12 -04:00
Jon Gjengset
1b7ba0b0b1
Bump version for new Error impls ( #158 )
2020-03-30 09:37:17 -04:00
Jon Gjengset
e417c526b0
Bump dependencies
2020-03-30 09:36:36 -04:00
Jon Gjengset
3a594e1ce6
Bump version for breaking release
...
This includes the imap-proto 0.11 `&str` -> `&[u8]` change, and the
`Capability` changes in imap-proto 0.10 (and #133 ).
2020-02-20 12:50:22 -05:00
Jon Gjengset
949ea3bd6b
Bump dependencies
...
This also pulls in imap-proto 0.11, which exposes message envelopes as
`&[u8]` instead of `&str`. This directly affects our public API.
2020-02-20 12:49:25 -05:00
Bryce Fisher-Fleig
f15bdfb458
(feat) default feature for native_tls (aka openssl)
...
Establishes conditional compilation for all integration with the
native_tls crate in this crate. Since native_tls has been deeply
integrated into this crate for a long time, we want to maintain
backwards compatibility by making this feature part of the default.
For a consumer of this crate to "opt-out", including this in
cargo.toml:
```
[dependencies.imap]
version = 0.16.0 # Replace this with the correct version
default-features = false
```
See the conversation on Github for details on this approach:
https://github.com/jonhoo/rust-imap/issues/123
2019-09-24 08:13:17 -07:00
Bryce Fisher-Fleig
76bcf02997
Remove unnecessary dotenv dependency
2019-09-18 09:04:01 -07:00
Bryce Fisher-Fleig
beb41d2f52
(feat) Provide example integration with Rustls crate
...
By checking this code in as an example, we can prevent bitrot as we continuously test this
in CI. It also demonstrates how to setup TLS without relying on platform specific dependencies
via native_tls crate.
2019-09-17 12:51:38 -07:00
Alexander Krotov
2221cd2e18
Update imap-proto and test that "IMAP4REV1" capability is accepted
...
See issue https://github.com/djc/tokio-imap/issues/54
2019-09-04 18:08:12 +03:00
Jon Gjengset
7fabf34c22
Move to Azure Pipelines
2019-09-03 11:51:46 -04:00
avitex
ff48dc9755
Decrease alloc on auth resp parsing
2019-09-03 23:41:57 +10:00
Jon Gjengset
2aa8c87e35
Move to 2018 edition
2019-09-03 09:35:15 -04:00
avitex
1303618565
Update imap-proto dependency
2019-09-02 23:06:37 +10:00
Jon Gjengset
2ce63ef17d
Bump version for #113
2019-06-28 17:41:29 -04:00
Baudouin Feildel
e9f6a33bd5
Add Fetch.internal_date method ( #113 )
...
This method gives the parsed internal date from the FETCH answer.
2019-06-28 17:39:10 -04:00
Jon Gjengset
fec0fbae6e
Bump version for #119
2019-04-29 12:46:13 -04:00
Jon Gjengset
ba09886e3b
Release 0.10.1 as 1.0.0
...
We're stable enough at this point that a 1.0 is warranted.
2019-03-18 22:29:26 -04:00
Jon Gjengset
ac526f4db2
Release 0.10.1
2019-03-18 22:28:21 -04:00
Jon Gjengset
eaa9426578
Use newly released upstream lettre 0.9
2019-03-17 12:12:54 -04:00
Jon Gjengset
67ee2f5175
Bump version for imap-proto fixes
...
- A `NIL` hierarchy delimiter in a `Name` is now properly parsed and exposed as `None`
- `RFC822.TEXT` responses are now returned by `Fetch::text()`.
2018-12-07 16:34:57 -05:00
Jon Gjengset
30079d8b9b
Release 0.9.5
2018-11-24 15:22:53 -05:00
Jon Gjengset
a2b0773622
Remove AppVeyor now that Travis does Windows
...
[skip ci]
2018-11-24 14:17:30 -05:00
Jon Gjengset
e7e20c08e9
Merge branch 'integration-testing'
2018-11-23 13:55:57 -05:00
Jon Gjengset
6aa7c30167
Quick'n'dirty fix for missing lettre release
2018-11-23 13:55:36 -05:00