Crate msg_auth_status

source ·
Expand description

§msg-auth-status

Discord chat Crates.io Docs License License MSRV

Parser for Message-Authenticated-Status and the associated DKIM-Signatures.

§Add

cargo add msg-auth-status

§RFCs

RFCTickDescription
8601✅ ParsingMessage Header Field for Indicating Message Authentication Status
6376✅ ParsingDomainkeys Identified Mail (DKIM) Signatures

§Benches

On 10700K test_data/from_gmail_to_arewe_at.eml as of 2024 June 10

Public APITimings
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]

§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§

  • Static variants of AuthenticationResults and DkimSignatures
  • Allocating variants of AuthenticationResults and DkimSignatures
  • Method auth Result
  • Parsed Authetication-Results
  • Method dkim Result and associated types
  • Public errors
  • Method iprev Result
  • Re-export of the used external mail_parser
  • Method spf Result
  • WIP - Traits beginnings not done yet