Decision Workspace
smtp-codec vs imap-codec vs mailrs-rfc5322
Side-by-side comparison of Rust crates
38
smtp-codec
growingv0.2.0
Low-level SMTP Parser and Serializer
62
imap-codec
stablev1.0.0
Rock-solid and complete codec for IMAP
57
mailrs-rfc5322
experimentalv1.1.0
Pull-based RFC 5322 message parser — lazy header lookup, byte-level scan, zero-alloc borrowed slices. Skip-ahead to the header you want without building a full Message tree.
Core Metrics
| smtp-codec | imap-codec | mailrs-rfc5322 | |
|---|---|---|---|
| Health Score | 38 | 62 | 57 |
| Total Downloads | 7.7K | 138.2K | 1.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 2 | 53 | 13 |
| Releases | 2 | 22 | 3 |
| Last Updated | 1581d ago | 82d ago | 66d ago |
| Age | 5y 7m | 5y 7m | 4m |
Health Breakdown
smtp-codec
Maintenance
3
Quality
17
Community
4
Popularity
5
Documentation
9
imap-codec
Maintenance
13
Quality
22
Community
11
Popularity
6
Documentation
10
mailrs-rfc5322
Maintenance
15
Quality
16
Community
9
Popularity
4
Documentation
13
Technical Details
| smtp-codec | imap-codec | mailrs-rfc5322 | |
|---|---|---|---|
| Version | 0.2.0 | 1.0.0 | 1.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 3 | 11 | 4 |
| Crate Size | 24KB | 69KB | 29KB |
| Features | 2 | 11 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2024 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •imap-codec leads with a health score of 62/100, but none of the options score above 80.
- •⚠ smtp-codec has not been updated in over a year.
- •smtp-codec is pre-1.0 — API may change.