Decision Workspace
mailrs-spf vs mailrs-dkim vs mailrs-arc
Side-by-side comparison of Rust crates
RFC 7208 Sender Policy Framework verifier. Pure-Rust evaluator with a pluggable DNS resolver trait; ships an optional hickory-resolver-backed implementation. Bounded DNS-lookup limits + loop detection per spec.
RFC 6376 DKIM signature verifier + signer. Parses DKIM-Signature headers, applies simple/relaxed canonicalization, verifies rsa-sha256 / ed25519-sha256 against the selector TXT record. RSA primitive backed by aws-lc-rs for ~3× faster sign vs pure-Rust. Pluggable DNS via DkimResolver trait.
RFC 8617 Authenticated Received Chain (ARC) — header parsing, chain extraction, and signature verification + sealing. ARC extends DKIM/SPF/DMARC across forwarders by chaining per-hop authentication results inside cryptographically-sealed header sets. v3 cuts RSA crypto over to aws-lc-rs via mailrs-dkim 3.0 for ~3× faster sign.
Core Metrics
| mailrs-spf | mailrs-dkim | mailrs-arc | |
|---|---|---|---|
| Health Score | 54 | 57 | 55 |
| Total Downloads | 184 | 748 | 528 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 9 | 4 |
| Releases | 7 | 11 | 5 |
| Last Updated | 66d ago | 66d ago | 66d ago |
| Age | 4m | 4m | 4m |
Health Breakdown
Technical Details
| mailrs-spf | mailrs-dkim | mailrs-arc | |
|---|---|---|---|
| Version | 2.1.0 | 3.1.0 | 3.0.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 8 | 15 | 14 |
| Crate Size | 41KB | 68KB | 52KB |
| Features | 2 | 2 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mailrs-dkim leads with a health score of 57/100, but none of the options score above 80.