Commit graph

106 commits

Author SHA1 Message Date
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