mailrs-mime 1.0.0

RFC 2045/2046 MIME body parser. Walks the multipart tree, decodes Content-Transfer-Encoding (base64, quoted-printable, 7bit, 8bit, binary), exposes text/HTML extraction + find-by-content-type + attachment iteration. Layered on mailrs-rfc5322 (headers) + mailrs-rfc2231 (parameters) + mailrs-rfc2047 (encoded-words).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![doc = include_str!("../README.md")]
#![deny(missing_docs)]
#![deny(rustdoc::broken_intra_doc_links)]

//! Module layout:
//! - [`content_type`] — parse `Content-Type:` header (type / subtype / params)
//! - [`decoder`]      — Content-Transfer-Encoding decoders (base64, qp, 7bit, 8bit)
//! - [`part`]         — `Part` struct + multipart tree walker

pub mod content_type;
pub mod decoder;
pub mod part;

pub use content_type::{ContentType, Disposition};
pub use decoder::TransferEncoding;
pub use part::{parse, Part};