Bump version for new imap-proto

This commit is contained in:
Jon Gjengset 2018-04-27 10:56:03 -04:00
parent 0bf8e5dd10
commit c28d08851c
No known key found for this signature in database
GPG key ID: D64AC9D67176DC71
2 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,7 @@
[package] [package]
name = "imap" name = "imap"
version = "0.8.0" version = "0.8.1"
authors = ["Matt McCoy <mattnenterprise@yahoo.com>", authors = ["Matt McCoy <mattnenterprise@yahoo.com>",
"Jon Gjengset <jon@thesquareplanet.com>"] "Jon Gjengset <jon@thesquareplanet.com>"]
documentation = "https://docs.rs/imap/" documentation = "https://docs.rs/imap/"
@ -28,7 +28,7 @@ path = "src/lib.rs"
native-tls = "0.1" native-tls = "0.1"
regex = "0.2" regex = "0.2"
bufstream = "0.1" bufstream = "0.1"
imap-proto = "0.3" imap-proto = "0.4"
nom = "3.2.1" nom = "3.2.1"
[dev-dependencies] [dev-dependencies]

View file

@ -170,6 +170,9 @@ pub fn parse_mailbox(mut lines: &[u8]) -> Result<Mailbox> {
use imap_proto::MailboxDatum; use imap_proto::MailboxDatum;
match m { match m {
MailboxDatum::Status { .. } => {
// TODO: we probably want to expose statuses too
}
MailboxDatum::Exists(e) => { MailboxDatum::Exists(e) => {
mailbox.exists = e; mailbox.exists = e;
} }