A fast, robust, and standards-compliant email parsing library for Rust with zero-copy design and extensive RFC support.
mail-parser is a high-performance email parsing library for Rust that fully conforms to Internet Message Format (RFC 5322) and MIME standards. It is designed for reliability and speed, making it suitable for processing real-world email messages in production environments.
Rust developers building email processing applications, such as mail servers, spam filters, email clients, or data extraction tools that need to parse and analyze email messages.
Developers choose mail-parser for its strict RFC compliance combined with a liberal parsing approach that handles non-conformant real-world emails, its zero-copy design for minimal memory allocation, and its high-performance implementation using perfect hashing and optimized Base64 decoding.
Fast and robust e-mail parsing library for Rust
Fully conforms to RFC 5322 and MIME standards while liberally parsing non-conformant real-world emails, adhering to the Robustness Principle for reliable handling.
Returns most strings as Cow<str> references to the input, minimizing memory allocations and improving performance for large-scale email processing, as highlighted in the zero-copy design.
Decodes messages in 41 character sets, including UTF-7 and legacy encodings via optional dependency, ensuring compatibility with emails dating back to 1995.
Uses perfect hashing for header parsing and a fast Base64 decoder based on Chromium's implementation, optimized for speed in production environments.
Written in 100% safe Rust with no external dependencies, thoroughly fuzzed and tested with MIRI, ensuring reliability and security.
The library only parses emails; constructing or modifying messages requires the separate mail-builder crate, adding complexity for full email handling workflows.
Support for legacy multi-byte encodings like BIG5 or ISO-2022-JP depends on the optional encoding_rs crate, which can increase binary size and setup steps.
It doesn't handle email sending, SMTP, IMAP, or other protocols, necessitating additional libraries for complete email applications, which might fragment the codebase.
As a Rust crate, it's not usable in projects built with other programming languages, limiting its applicability to Rust-based systems and requiring Rust expertise.
Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.
a mailer library for Rust
Email test server for development, written in Rust
terminal mail client, mirror of https://git.meli-email.org/meli/meli.git https://crates.io/crates/meli
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.