By checking this code in as an example, we can prevent bitrot as we continuously test this in CI. It also demonstrates how to setup TLS without relying on platform specific dependencies via native_tls crate. |
||
|---|---|---|
| .. | ||
| basic.rs | ||
| gmail_oauth2.rs | ||
| README.md | ||
| rustls.rs | ||
Examples
This directory contains examples of working with the IMAP client.
Examples:
- basic - This is a very basic example of using the client.
- gmail_oauth2 - This is an example using oauth2 for logging into gmail as a secure appplication.
- rustls - This demonstrates how to use Rustls instead of Openssl for secure connections (helpful for cross compilation).