Skip to main content

pidge_core/
lib.rs

1//! Core types for pidge: accounts, configuration, and the normalized message model.
2//!
3//! This crate is intentionally provider-agnostic — it knows nothing about HTTP,
4//! Microsoft Graph, or authentication. Those concerns live in `pidge-client`.
5
6mod account;
7mod cache;
8mod config;
9mod error;
10mod message;
11
12pub use account::{Account, TokenStorage};
13pub use cache::{CacheLookup, CachedMessageRef, MessageCache, short_hash};
14pub use config::{Config, Defaults};
15pub use error::CoreError;
16pub use message::{Attachment, BodyContentType, FullMessage, Message, MessageFrom};