mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 13:17:55 +08:00
7c01f88006
This step was necessary to move logic from CLI to lib. Indeed, the trait returned by get_mboxes needed to implement Table, which is related to the CLI module only.
113 lines
2.0 KiB
Rust
113 lines
2.0 KiB
Rust
pub mod mbox {
|
|
pub mod mbox;
|
|
pub use mbox::*;
|
|
|
|
pub mod mboxes;
|
|
pub use mboxes::*;
|
|
|
|
pub mod mbox_args;
|
|
pub mod mbox_handlers;
|
|
}
|
|
|
|
pub mod msg {
|
|
pub mod envelope;
|
|
pub use envelope::*;
|
|
|
|
pub mod msg_args;
|
|
|
|
pub mod msg_handlers;
|
|
pub mod msg_utils;
|
|
|
|
pub mod flag_args;
|
|
pub mod flag_handlers;
|
|
|
|
pub mod tpl_args;
|
|
pub use tpl_args::TplOverride;
|
|
|
|
pub mod tpl_handlers;
|
|
|
|
pub mod msg_entity;
|
|
pub use msg_entity::*;
|
|
|
|
pub mod parts_entity;
|
|
pub use parts_entity::*;
|
|
|
|
pub mod addr_entity;
|
|
pub use addr_entity::*;
|
|
}
|
|
|
|
pub mod backends {
|
|
pub mod backend;
|
|
pub use backend::*;
|
|
|
|
pub mod id_mapper;
|
|
pub use id_mapper::*;
|
|
|
|
#[cfg(feature = "imap-backend")]
|
|
pub mod imap {
|
|
pub mod imap_args;
|
|
|
|
pub mod imap_backend;
|
|
pub use imap_backend::*;
|
|
|
|
pub mod imap_handlers;
|
|
|
|
pub mod imap_envelope;
|
|
pub use imap_envelope::*;
|
|
|
|
pub mod imap_flag;
|
|
pub use imap_flag::*;
|
|
|
|
pub mod msg_sort_criterion;
|
|
}
|
|
|
|
#[cfg(feature = "imap-backend")]
|
|
pub use self::imap::*;
|
|
|
|
#[cfg(feature = "maildir-backend")]
|
|
pub mod maildir {
|
|
pub mod maildir_backend;
|
|
pub use maildir_backend::*;
|
|
|
|
pub mod maildir_envelope;
|
|
pub use maildir_envelope::*;
|
|
|
|
pub mod maildir_flag;
|
|
pub use maildir_flag::*;
|
|
}
|
|
|
|
#[cfg(feature = "maildir-backend")]
|
|
pub use self::maildir::*;
|
|
|
|
#[cfg(feature = "notmuch-backend")]
|
|
pub mod notmuch {
|
|
pub mod notmuch_backend;
|
|
pub use notmuch_backend::*;
|
|
|
|
pub mod notmuch_envelope;
|
|
pub use notmuch_envelope::*;
|
|
}
|
|
|
|
#[cfg(feature = "notmuch-backend")]
|
|
pub use self::notmuch::*;
|
|
}
|
|
|
|
pub mod smtp {
|
|
pub mod smtp_service;
|
|
pub use smtp_service::*;
|
|
}
|
|
|
|
pub mod config {
|
|
pub mod config_args;
|
|
|
|
pub mod account_args;
|
|
pub mod account_handlers;
|
|
|
|
pub mod account;
|
|
pub use account::*;
|
|
}
|
|
|
|
pub mod compl;
|
|
pub mod output;
|
|
pub mod ui;
|