daaki-imap 0.1.0

An IMAP4rev1/IMAP4rev2 async client library
Documentation
//! Public IMAP types.
//!
//! Core types from RFC 3501 (`IMAP4rev1`) and RFC 9051 (`IMAP4rev2`), plus
//! RFC 5322 (Internet Message Format), RFC 2045/2046 (MIME),
//! RFC 2183 (Content-Disposition), and extension RFCs.
//!
//! All types are fully owned — no lifetime parameters. Parsers produce these from `&[u8]`
//! and callers can store them freely.

pub(crate) mod body;
mod command;
pub(crate) mod envelope;
pub(crate) mod fetch;
pub(crate) mod flag;
pub(crate) mod mailbox;
pub(crate) mod response;
pub mod rfc2231;

pub use body::{BodyStructure, ContentDisposition};
pub use envelope::{Envelope, EnvelopeAddress};
pub use fetch::{
    AppendMessage, BinarySection, BodySection, FetchAttr, FetchResponse, StoreOperation,
    StoreResult,
};
pub use flag::Flag;
pub use mailbox::{MailboxAttribute, MailboxInfo, SelectedMailbox, SpecialUse, StatusItem};
pub use response::{
    AclEntry, Capability, ContinuationRequest, EsearchResponse, ExpungeResult, GreetingResponse,
    GreetingStatus, MetadataEntry, MoveResult, NamespaceDescriptor, QresyncParams, QuotaResource,
    Response, ResponseCode, StatusKind, TaggedResponse, ThreadNode, UidRange, UntaggedResponse,
    UntaggedStatus,
};
pub use rfc2231::decode_rfc2231_params;

// Re-export command types for internal use only.
pub(crate) use command::Command;