Decision Workspace
mailrs-smtp-codec vs new-tokio-smtp vs wasm-smtp-tokio
Side-by-side comparison of Rust crates
54
mailrs-smtp-codec
experimentalv1.0.2
Tokio Decoder/Encoder for the RFC 5321 SMTP wire format — switches between line-oriented command mode (CRLF-terminated, ≤1024 octets) and DATA mode (raw bytes until CRLF.CRLF terminator). Includes optional SMTP-smuggling protection: detects bare-LF before the dot-terminator and either rejects the payload (Strict) or normalizes line endings (Permissive).
44
new-tokio-smtp
growingv0.9.1
extendible smtp implementation for tokio
61
wasm-smtp-tokio
experimentalv0.18.0
Tokio + rustls socket adapter for wasm-smtp.
Core Metrics
| mailrs-smtp-codec | new-tokio-smtp | wasm-smtp-tokio | |
|---|---|---|---|
| Health Score | 54 | 44 | 61 |
| Total Downloads | 930 | 18.9K | 4.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 7 | 129 |
| Releases | 3 | 9 | 22 |
| Last Updated | 66d ago | 2302d ago | 27d ago |
| Age | 4m | 8y 1m | 5m |
Health Breakdown
mailrs-smtp-codec
Maintenance
15
Quality
16
Community
6
Popularity
4
Documentation
13
new-tokio-smtp
Maintenance
4
Quality
16
Community
7
Popularity
5
Documentation
12
wasm-smtp-tokio
Maintenance
17
Quality
16
Community
12
Popularity
4
Documentation
12
Technical Details
| mailrs-smtp-codec | new-tokio-smtp | wasm-smtp-tokio | |
|---|---|---|---|
| Version | 1.0.2 | 0.9.1 | 0.18.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 4 | 13 | 8 |
| Crate Size | 19KB | 72KB | 18KB |
| Features | 0 | 5 | 10 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2018 | 2024 |
| MSRV | — | — | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •wasm-smtp-tokio leads with a health score of 61/100, but none of the options score above 80.
- •new-tokio-smtp has the most downloads (18.9K), suggesting wider adoption.
- •wasm-smtp-tokio is depended on by 129 crates — strongest ecosystem trust.
- •⚠ new-tokio-smtp has not been updated in over a year.
- •new-tokio-smtp, wasm-smtp-tokio are pre-1.0 — API may change.