Expand description
§ch-parsing
Input parsing for strings, email addresses and account hashes.
Errors include a stable code, an optional field name and structured parameters. Applications handle translations and HTTP responses.
§Usage
use ch_parsing::input::email::parse_required_email;
let email = parse_required_email(" person@example.com ", "email").unwrap();
assert_eq!(email, "person@example.com");Email parsers trim whitespace and preserve letter case. They accept addresses without display names.
See the API documentation for all parsers. Requires Rust 1.99 or newer.
§License
Licensed under the Sustainable Use License 1.0. See
LICENSE.md.