gmailnator-0.1.0 has been yanked.
Goals
This library has been designed to be ultra high level and simple (see the examples below). Performance has been taken in account but the host's slowness in a real bottleneck.
Examples
The main object is the GmailnatorInbox object, to generate a new mailbox :
extern crate gmailnator;
use GmailnatorInbox;
...
let inbox = new.expect;
Getting the current email address string associated to the GmailnatorInbox instance :
let address = inbox.get_address; returns an &str
Display potentially received messages :
let messages = inbox.get_messages.expect;
for message in messages