Commit graph

21 commits

Author SHA1 Message Date
Shaun Savage
a11c4e5673 TlsConnector::build() unwrap() not needed 2018-06-26 20:10:11 +00:00
Jon Gjengset
1d4d6288c1
rustfmt 2018-04-03 13:01:35 -04: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
590b80e3a6 Add structured results for all values using imap-proto (#58)
* First stab at structured types (#28)

Tests currently fail due to djc/imap-proto#2.

LSUB is also broken due to djc/imap-proto#4 (but we don't have tests for
that atm).

* Also parse out RFC822 fetch responses

* Make all the things zero-copy

* Also delegate IntoIterator for ZeroCopy ref

* Fix UNSEEN and LSUB

All tests now pass

* Address @sanmai-NL comments

* Correctly handle incomplete parser responses

* No need for git dep anymore
2018-02-09 11:22:20 -05:00
Jon Gjengset
7c95ae76d6 Swap openssl for native-tls (#43)
* Replace openssl with native-tls

* Add From<TlsError> to allow builder()?

* Update AppVeyor config

* No email since it's not configured
2017-10-01 19:53:03 -04:00
Jon Gjengset
e65bbe1006
rustfmt. fixes #29 2017-09-30 17:58:30 -04:00
Matt McCoy
86e1d46507 rustfmt the codebase (#36)
This will ensure that we are properly formatting this library code according to rust standards
2017-07-10 21:38:13 -04:00
Matt McCoy
3b6816b732 Updating version 2017-05-02 21:57:45 -04:00
drevilt
89a8d0eaf3 update to openssl 0.9 (#31) 2017-05-01 15:39:12 -04:00
Matt McCoy
04bbb957ef Add comment to reference secure gmail connection 2016-07-14 16:32:44 -04:00
Matt McCoy
ed03acf07d Fixing formatting for gmail_oauth2 example 2016-06-29 19:38:55 -04:00
Matt McCoy
c8f4437ee0 Fixing the example README.md 2016-06-29 18:57:46 -04:00
Matt McCoy
b593d943ef Updating README.md and the basic example 2016-06-29 18:53:23 -04:00
Matt McCoy
4b8a294689 Fixing examples README.md 2016-06-29 18:48:50 -04:00
Matt McCoy
8d39bfd343 Hardening the oauth2 example for gmail 2016-06-28 22:29:55 -04:00
Matt McCoy
8a1162ada4 Initial testing for authentication 2016-06-28 21:48:25 -04:00
Matt McCoy
8418983253 Adding README.md to examples 2016-06-24 20:56:11 -04:00
Matt McCoy
bf5031e8c4 Removing complicated printing of mailbox 2016-06-24 20:51:42 -04:00
Matt McCoy
5dec8b79ac Cleaning up more of the basic example 2016-06-24 20:42:40 -04:00
Matt McCoy
964d7c99ef Making the basic example more readable 2016-06-24 20:40:56 -04:00
Matt McCoy
080bcebfb8 Moving basic example into examples directory 2016-06-21 23:31:31 -04:00