Decision Workspace
mailrs-spf vs viaspf vs mailrs-dkim
Side-by-side comparison of Rust crates
49
mailrs-spf
experimentalv2.0.0
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.
54
viaspf
growingv0.6.0
Implementation of the Sender Policy Framework (SPF) specification
52
mailrs-dkim
experimentalv3.0.0
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.
Core Metrics
| mailrs-spf | viaspf | mailrs-dkim | |
|---|---|---|---|
| Health Score | 49 | 54 | 52 |
| Total Downloads | 112 | 112.9K | 256 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 80 | 7 |
| Releases | 6 | 27 | 10 |
| Last Updated | 45d ago | 798d ago | 45d ago |
| Age | 1m | 6y 1m | 1m |
Health Breakdown
mailrs-spf
Maintenance
11
Quality
17
Community
6
Popularity
2
Documentation
13
viaspf
Maintenance
9
Quality
16
Community
11
Popularity
6
Documentation
12
mailrs-dkim
Maintenance
11
Quality
17
Community
8
Popularity
3
Documentation
13
Technical Details
| mailrs-spf | viaspf | mailrs-dkim | |
|---|---|---|---|
| Version | 2.0.0 | 0.6.0 | 3.0.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | Apache-2.0 OR MIT | GPL-3.0-or-later | Apache-2.0 OR MIT |
| Dependencies | 8 | 6 | 14 |
| Crate Size | 42KB | 57KB | 64KB |
| Features | 2 | 2 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.65.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •viaspf leads with a health score of 54/100, but none of the options score above 80.
- •⚠ viaspf has not been updated in over a year.
- •viaspf is pre-1.0 — API may change.