envelopwd 0.1.0

A robust, lightweight library for parsing and validating email addresses and mailboxes with sqlx and lettre integration.
Documentation
// Copyright 2026 Thomas Zuyev

// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at

//     http://www.apache.org/licenses/LICENSE-2.0

// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

//! `envelopwd` is a robust and lightweight crate for parsing, validating,
//! and manipulating email addresses and mailboxes.
//!
//! This crate enforces standard formatting rules (inspired by RFC 5322, RFC 1034,
//! and HTML5 email validation specs) to ensure that local parts, domains,
//! and display names are correctly structured.

pub mod address;
pub mod error;
pub mod mailbox;

pub use address::EmailAddress;
pub use error::{Error, Result};
pub use mailbox::Mailbox;