diff --git a/Cargo.toml b/Cargo.toml index a24b0a3f..54b0177f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "imap" -version = "0.8.0" +version = "0.8.1" authors = ["Matt McCoy ", "Jon Gjengset "] documentation = "https://docs.rs/imap/" @@ -28,7 +28,7 @@ path = "src/lib.rs" native-tls = "0.1" regex = "0.2" bufstream = "0.1" -imap-proto = "0.3" +imap-proto = "0.4" nom = "3.2.1" [dev-dependencies] diff --git a/src/parse.rs b/src/parse.rs index c8948351..07546c9e 100644 --- a/src/parse.rs +++ b/src/parse.rs @@ -170,6 +170,9 @@ pub fn parse_mailbox(mut lines: &[u8]) -> Result { use imap_proto::MailboxDatum; match m { + MailboxDatum::Status { .. } => { + // TODO: we probably want to expose statuses too + } MailboxDatum::Exists(e) => { mailbox.exists = e; }