✨ feat(lib): add config and retention modules
- add config module for managing application settings - add retention module for message age management
This commit is contained in:
committed by
Jeremiah Russell
parent
c4e4e28f66
commit
ab8df6bdd9
@@ -4,16 +4,23 @@
|
|||||||
#![cfg_attr(docsrs, warn(rustdoc::invalid_codeblock_attributes))]
|
#![cfg_attr(docsrs, warn(rustdoc::invalid_codeblock_attributes))]
|
||||||
#![doc = include_str!("../docs/lib.md")]
|
#![doc = include_str!("../docs/lib.md")]
|
||||||
|
|
||||||
|
mod config;
|
||||||
mod credential;
|
mod credential;
|
||||||
|
mod eol_cmd;
|
||||||
mod error;
|
mod error;
|
||||||
mod labels;
|
mod labels;
|
||||||
mod message_list;
|
mod message_list;
|
||||||
|
mod retention;
|
||||||
mod trash;
|
mod trash;
|
||||||
|
|
||||||
pub(crate) mod utils;
|
pub(crate) mod utils;
|
||||||
|
|
||||||
|
pub use config::Config;
|
||||||
pub use credential::Credential;
|
pub use credential::Credential;
|
||||||
pub use error::Error;
|
pub use error::Error;
|
||||||
pub use labels::Labels;
|
pub use labels::Labels;
|
||||||
pub use message_list::DEFAULT_MAX_RESULTS;
|
pub use message_list::DEFAULT_MAX_RESULTS;
|
||||||
pub use message_list::MessageList;
|
pub use message_list::MessageList;
|
||||||
|
pub use retention::MessageAge;
|
||||||
|
pub use retention::Retention;
|
||||||
pub use trash::Trash;
|
pub use trash::Trash;
|
||||||
|
|||||||
Reference in New Issue
Block a user