#dmarc #parser

dmarc_aggregate_parser

Simple library to parse email DMARC reports

5 releases

0.1.5 Oct 2, 2024
0.1.4 Oct 13, 2022
0.1.3 Apr 20, 2021
0.1.1 May 22, 2019

#135 in Email

25 downloads per month

MIT/Apache

15KB
305 lines

DMARC Aggregate Report Parser

This is a library that can be used to parse DMARC reports. It uses SERDE to do all of the parsing. It may be helpful to others because code for all of the structs needed to parse these reports is present.

It also allows parsing gzip'ed and zip'ed DMARC reports. In addition to allowing a single report to be parsed, it also allows parsing all reports in a certain directory.

This is written in Rust which should mean that it will be relatively fast and memory safe.

I apologize for the lack of documentation, but this is very much a work in progress.


lib.rs:

The DMARC Aggregate Parser is intended to provide a programmatical way to access information in an DMARC report.

Dependencies

~2.9–4MB
~75K SLoC