mailrs-rfc5322 1.0.1

Pull-based RFC 5322 message parser — lazy header lookup, byte-level scan, zero-alloc borrowed slices. Skip-ahead to the header you want without building a full Message tree.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![doc = include_str!("../README.md")]
#![deny(missing_docs)]
#![deny(rustdoc::broken_intra_doc_links)]

//! Internal layout: a single `Message<'a>` borrows the message bytes.
//! Header lookup is a forward scan of the header region; body access
//! locates and caches the offset of the empty line that terminates the
//! header section.

mod header;
mod message;

pub use header::{Header, HeaderIter};
pub use message::Message;