Expand description
§msg-auth-status
Parser & Verifier for Message-Authenticated-Status and the associated DKIM-Signatures.
§Add without Verifier
ⓘ
cargo add msg-auth-status
§Add with Verifier
ⓘ
cargo add msg-auth-status --features verifier
§RFCs
RFC | Tick | Description |
---|---|---|
8601 | ✅ Parsing | Message Header Field for Indicating Message Authentication Status |
6376 | ✅ Parsing | Domainkeys Identified Mail (DKIM) Signatures |
§Benches
On 10700K test_data/from_gmail_to_arewe_at.eml as of 2024 June 10
Public API | Timings |
---|---|
alloc_yes::MesssageAuthStatus::from_mail_parser | [685.76 ns 692.93 ns 705.28 ns] |
alloc_yes::DkimSignatures::from_mail_parser | [423.19 ns 424.95 ns 427.80 ns] |
From<mail_parser::HeaderValue> for DkimSignature | [301.46 ns 302.05 ns 302.69 ns] |
From<mail_parser::HeaderValue> for AuthenticationResults | [565.54 ns 567.40 ns 569.52 ns] |
ReturnPathVerifier::from_alloc_yes() over Parsed | [85.396 ns 85.579 ns 85.787 ns] |
§See Also
- https://www.iana.org/assignments/dkim-parameters/dkim-parameters.xhtml
- https://www.iana.org/assignments/email-auth/email-auth.xhtml
§License
Licensed under either of:
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
§Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Modules§
- addr
- Address Specification
- alloc_
no - WIP Static variants of AuthenticationResults and DkimSignatures There is for now only alloc_yes variant
- alloc_
yes - Allocating variants of AuthenticationResults, DkimSignatures & ReturnPathVerifier
- auth
- Method auth Result
- auth_
results - Parsed Authetication-Results
- dkim
- Method dkim Result and associated types
- error
- Public errors
- iprev
- Method iprev Result
- mail_
parser - Re-export of the used external mail_parser
- spf
- Method spf Result
- traits
- WIP - Traits beginnings not done yet