diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-02-10 02:11:07 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-02-10 02:11:07 +0200 |
commit | b6efb14824740c981eb2a632498e07fd305cdb51 (patch) | |
tree | 1cd49370dcf24cb75c4a8a544acc6c84469c32ef /melib/src/lib.rs | |
parent | b50e770b5a96fd508c52d35e83331a919f852fc2 (diff) |
melib: remove Mailbox
Refactor Collection from melib to hold what folders have what envelopes.
Frontend accounts will now have a FolderEntry for each logical folder
and will unify many Account fields into one and eliminate a lot of
duplicate/dead code.
Diffstat (limited to 'melib/src/lib.rs')
-rw-r--r-- | melib/src/lib.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/melib/src/lib.rs b/melib/src/lib.rs index d7bd908f..bae5b70a 100644 --- a/melib/src/lib.rs +++ b/melib/src/lib.rs @@ -119,7 +119,6 @@ mod collection; pub mod conf; pub mod email; pub mod error; -pub mod mailbox; pub mod thread; pub use crate::email::*; pub use crate::thread::*; @@ -138,11 +137,10 @@ extern crate bitflags; extern crate fnv; extern crate uuid; -pub use crate::conf::*; -pub use crate::mailbox::*; - pub use crate::backends::{Backends, RefreshEvent, RefreshEventConsumer, SpecialUsageMailbox}; -pub use crate::email::{Envelope, Flag}; +pub use crate::collection::*; +pub use crate::conf::*; +pub use crate::email::{Envelope, EnvelopeHash, Flag}; pub use crate::error::{MeliError, Result}; pub use crate::addressbook::*; |