Commit graph

669 commits

Author SHA1 Message Date
Jon Gjengset
20d3ce0277
Fix compiler warning 2018-10-05 14:53:31 -04:00
Jon Gjengset
a10769feba
Tidy up search a little
There's no reason to carry around a ZeroCopy here, since we own all the
values.
2018-10-05 14:53:12 -04:00
Jon Gjengset
946a6eef34
Merge pull request #89 from mtorromeo/feature-search
client: Add SEARCH and UID SEARCH support
2018-10-05 12:44:01 -04:00
Massimiliano Torromeo
11e666ea91
Use imap_proto to parse the search responses into a HashSet of ids 2018-10-05 18:20:59 +02:00
Massimiliano Torromeo
a6f0240f94 Renamed imap_move to mv 2018-10-05 17:29:43 +02:00
Massimiliano Torromeo
23449e203e Added links to the RFC for the functions mv and uid_move 2018-10-05 17:29:34 +02:00
Massimiliano Torromeo
4321b7fe14 Add reference to the RFC defining the UID EXPUNGE command 2018-10-05 17:21:22 +02:00
Massimiliano Torromeo
5facd16e0e
client: Add SEARCH and UID SEARCH support 2018-10-04 15:27:45 +02:00
Massimiliano Torromeo
b28ae3efbe
client: Add MOVE and UID MOVE support 2018-10-04 13:03:58 +02:00
Massimiliano Torromeo
c9b720155f
client: Add UID EXPUNGE support 2018-10-04 12:00:52 +02:00
Jon Gjengset
1a62f1b24b
Merge pull request #86 from vandenoever/clippy
Clippy fixes
2018-09-12 13:34:50 -04:00
Jos van den Oever
4c94c87686 Clippy fixes 2018-09-12 19:31:26 +02:00
Jon Gjengset
9efd256e4a
Merge pull request #84 from dario23/inner_client
Split `Client` into `UnauthenticatedClient` and `Client`
2018-08-30 15:53:39 -04:00
Johannes Schilling
b7927aa33e client: remove outdated comment from fn login 2018-08-30 21:27:52 +02:00
Johannes Schilling
73efb03882 client: more docs, move Connection impl block
as discussed/suggested at
https://github.com/mattnenterprise/rust-imap/pull/84#pullrequestreview-150636568
2018-08-30 19:32:33 +02:00
Johannes Schilling
1708db5ae2 adjust tests to the change in structs 2018-08-29 17:46:39 +02:00
Johannes Schilling
515d574742 src/lib.rs: sync code in doc-comment with examples/basic.rs
is there some way to include the code directly from examples/basic.rs?
2018-08-29 17:37:57 +02:00
Johannes Schilling
abad1f4171 adjust examples to the latest changes 2018-08-29 16:08:53 +02:00
Johannes Schilling
da2ac87ca7 client: move matching in login functions to macro
as suggested in PR #84 comments
2018-08-29 15:55:43 +02:00
Johannes Schilling
71f8e6bcd2 rename types as per suggestion in PR #84 2018-08-29 14:40:02 +02:00
Jon Gjengset
61ffb00811
Merge pull request #85 from VictorKoenders/master
Updated cargo references
2018-08-26 11:42:58 -04:00
Victor Koenders
bbd3c085af Updated references 2018-08-26 14:43:04 +02:00
Johannes Schilling
3d6dd58f19 adjust examples to Client/UnauthenticatedClient splitup 2018-08-11 13:41:48 +02:00
Johannes Schilling
820d1eccf7 client: separate out UnauthenticatedClient, InnerClient
fixes #80 (client separation)
2018-08-11 12:38:50 +02:00
Jon Gjengset
72925cf1d8
Handle unilateral server responses
Fixes #81.
2018-07-21 12:29:50 -04:00
Jon Gjengset
4c4fd89232
rustfmt 2018-07-21 12:29:34 -04:00
Jon Gjengset
dea9398e08
Don't crash when parsing empty result
Partial fix for #81.
2018-07-18 16:14:35 -04:00
Jon Gjengset
c095ee2aa0
Merge pull request #76 from greenpdx/master
Add passing back the email in [u8]
2018-06-28 12:49:29 -04:00
Shaun Savage
0cfa46d896 changed email to body 2018-06-28 16:39:12 +00:00
Shaun Savage
4bdfe96915 changed email to body 2018-06-28 16:36:07 +00:00
Shaun Savage
adb35b5a54
Merge pull request #1 from greenpdx/body
Added passing email with fetch
2018-06-28 09:23:05 -07:00
Jon Gjengset
72ee4aabe3
Merge pull request #75 from greenpdx/master
changed try! to ?
2018-06-28 12:19:48 -04:00
Shaun Savage
7fcb920bd7 fixed unused var warning 2018-06-28 16:09:35 +00:00
Shaun Savage
e81f26e39d added accessor 2018-06-28 16:06:13 +00:00
Shaun Savage
4a855720e4 added passing back the email data 2018-06-28 15:53:37 +00:00
Shaun Savage
ba8afa7918 changed try! to ? 2018-06-27 23:17:49 +00:00
Jon Gjengset
d1ed629676
Merge pull request #73 from greenpdx/master
update native-tls version
2018-06-27 11:14:04 -04:00
Shaun Savage
923e01279a remove unwrap() 2018-06-26 20:23:11 +00:00
Shaun Savage
a11c4e5673 TlsConnector::build() unwrap() not needed 2018-06-26 20:10:11 +00:00
Shaun Savage
0f8f83e641 update native-tls version 2018-06-26 18:47:53 +00:00
Jon Gjengset
d132de4834
New imap-proto 2018-04-27 16:27:38 -04:00
Jon Gjengset
c28d08851c
Bump version for new imap-proto 2018-04-27 10:56:03 -04:00
Matt McCoy
0bf8e5dd10 Bump version from 0.7.0 -> 0.8.0 2018-04-03 20:57:17 -04:00
Jon Gjengset
210a12b791
Used wrong doc badge link 2018-04-03 13:04:44 -04:00
Jon Gjengset
6888dda451
Check all things in CI (inc. examples) 2018-04-03 13:03:51 -04:00
Jon Gjengset
73c8d0ddc2
Move README example into src/lib.rs
This way it'll be run as a doctest and we'll know if it breaks (again).

Fixes #67.
2018-04-03 13:01:59 -04:00
Jon Gjengset
1d4d6288c1
rustfmt 2018-04-03 13:01:35 -04:00
Jon Gjengset
6e47ceb171
Merge pull request #66 from programble/fix/borrow-tls
Borrow TlsConnector
2018-03-19 11:58:22 -05:00
Curtis McEnroe
6b4461eb07
Borrow TlsConnector
TlsConnector is meant to be reusable and there is no reason to take
ownership over one.
2018-03-18 22:18:15 -04:00
Jon Gjengset
804f1c724a
Merge pull request #65 from mordak/fix-debug
Fix debug output when Client.debug = true
2018-02-24 17:48:29 -05:00