Commit graph

311 commits

Author SHA1 Message Date
Matt McCoy
8981a03870 Initial step of making client testable with generics 2016-06-21 12:29:16 -04:00
Matt McCoy
5b204cccb8 Adding expunge, check, and close commands 2016-06-15 21:26:17 -04:00
Matt McCoy
148356273c Adding some comments for documentation 2016-06-15 19:38:37 -04:00
Matt McCoy
a3ee094a50 Fixing test 2016-06-15 12:16:10 -04:00
Matt McCoy
eee1ad355a Simplify login using ToSocketAddrs 2016-06-05 19:41:36 -04:00
Miquel Ruiz
6816b922f0 Try connection instead of unwrapping
Return an error instead of panicking on connection errors, which allows to
handle the problem from the caller.

fixes #12
2016-06-05 13:05:26 +01:00
Julien Rolland
a3cb1c22d9 SslStream::new is deprecated 2015-11-23 21:59:54 +00:00
Artem
fbb4b23f75 Expose run_command 2015-11-05 13:43:52 +03:00
Chris J Arges
ceb4ae6993 Allow connect to take both &str and String
It would be useful to allow a String to be passed to connect instead of just
a &'static str. This code makes 'host' a String type, but allows the function
to take either type.
2015-06-14 23:25:30 -05:00
Matt McCoy
298eac6598 Updating to compile for the most recent version of rust 2015-06-07 00:59:53 -04:00
Matt McCoy
95e6676055 Initial Commit 2015-04-15 16:23:58 -04:00