Updating README with more information
This commit is contained in:
parent
148356273c
commit
c90ab54ab0
1 changed files with 5 additions and 2 deletions
|
|
@ -3,11 +3,14 @@ rust-imap
|
||||||
IMAP Client for Rust
|
IMAP Client for Rust
|
||||||
|
|
||||||
This client has SSL support. SSL is configured using an SSLContext that is passed into the connect method of a IMAPStream. If no SSL
|
This client has SSL support. SSL is configured using an SSLContext that is passed into the connect method of a IMAPStream. If no SSL
|
||||||
support is wanted just pass in None. The library rust-openssl is used to support SSL for this project.
|
support is wanted just pass in None. The library rust-openssl is used to support SSL for this project.
|
||||||
|
|
||||||
|
|
||||||
[](https://travis-ci.org/mattnenterprise/rust-imap)
|
[](https://travis-ci.org/mattnenterprise/rust-imap)
|
||||||
|
|
||||||
|
[Documentation](http://mattnenterprise.github.io/rust-imap),
|
||||||
|
[crates.io](https://crates.io/crates/imap).
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
|
|
||||||
Add imap via your `Cargo.toml`:
|
Add imap via your `Cargo.toml`:
|
||||||
|
|
@ -34,7 +37,7 @@ fn main() {
|
||||||
if let Err(e) = imap_socket.login("username", "password") {
|
if let Err(e) = imap_socket.login("username", "password") {
|
||||||
println!("Error: {}", e)
|
println!("Error: {}", e)
|
||||||
};
|
};
|
||||||
|
|
||||||
match imap_socket.capability() {
|
match imap_socket.capability() {
|
||||||
Ok(capabilities) => {
|
Ok(capabilities) => {
|
||||||
for capability in capabilities.iter() {
|
for capability in capabilities.iter() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue