1#![cfg_attr(docsrs, feature(doc_cfg))]
2#![warn(missing_docs)]
3#![cfg_attr(docsrs, feature(rustdoc_missing_doc_code_examples))]
4#![cfg_attr(docsrs, warn(rustdoc::invalid_codeblock_attributes))]
5#![doc = include_str!("../docs/lib.md")]
6
7mod config;
8mod credential;
9mod eol_cmd;
10mod error;
11mod labels;
12mod message_list;
13mod retention;
14mod trash;
15
16pub(crate) mod utils;
17
18pub use config::Config;
19pub use credential::Credential;
20pub use error::Error;
21pub use labels::Labels;
22pub use message_list::DEFAULT_MAX_RESULTS;
23pub use message_list::MessageList;
24pub use retention::MessageAge;
25pub use retention::Retention;
26pub use trash::Trash;
27
28pub type Result<O> = std::result::Result<O, Error>;