Files
cull-gmail/src/lib.rs
Jeremiah Russell 4c2cfac06d ♻️ refactor: remove redundant credential module
- Delete src/credential.rs - module was unused in actual codebase
- Remove credential module references from lib.rs exports
- Update documentation to use standard OAuth2 terminology
- Fix CLI docs to reference correct credential_file config
- Application uses ConsoleApplicationSecret directly instead

The custom Credential struct duplicated functionality already
provided by yup_oauth2::ConsoleApplicationSecret. All credential
loading is handled by ClientConfig::new_from_configuration() which
uses the standard OAuth2 types.
2025-10-20 14:32:44 +01:00

37 lines
900 B
Rust

#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
#![cfg_attr(docsrs, feature(rustdoc_missing_doc_code_examples))]
#![cfg_attr(docsrs, warn(rustdoc::invalid_codeblock_attributes))]
#![doc = include_str!("../docs/lib/lib.md")]
mod client_config;
mod eol_action;
mod error;
mod gmail_client;
mod message_list;
mod retention;
mod rule_processor;
mod rules;
#[cfg(test)]
pub(crate) mod test_utils;
pub(crate) mod utils;
pub use gmail_client::DEFAULT_MAX_RESULTS;
pub use client_config::ClientConfig;
pub use gmail_client::GmailClient;
pub(crate) use gmail_client::MessageSummary;
pub use retention::Retention;
pub use rules::Rules;
pub use eol_action::EolAction;
pub use error::Error;
pub use retention::MessageAge;
pub use message_list::MessageList;
pub use rule_processor::RuleProcessor;
/// Type alias for result with crate Error
pub type Result<O> = std::result::Result<O, Error>;