Decision Workspace
sanitize_html vs mailrs-clean vs html-entity-fix
Side-by-side comparison of Rust crates
43
sanitize_html
growingv0.10.0
Rule-based HTML Sanitization library
56
mailrs-clean
experimentalv1.0.3
Email content cleanup primitives: HTML sanitization, tracking-pixel detection, bulk/automated sender heuristics, quoted-reply splitting — zero I/O, no async runtime.
49
html-entity-fix
experimentalv0.1.0
Decode HTML entities (& < > " ' numeric refs) that LLMs sometimes emit in plain-text output. Zero deps.
Core Metrics
| sanitize_html | mailrs-clean | html-entity-fix | |
|---|---|---|---|
| Health Score | 43 | 56 | 49 |
| Total Downloads | 108.9K | 63 | 13 |
| 30d Downloads | 3.8K | 0 | 0 |
| Dependents | 17 | 0 | 0 |
| Releases | 13 | 4 | 1 |
| Last Updated | 217d ago | 4d ago | 9d ago |
| Age | 8y 5m | 5d | 9d |
Health Breakdown
sanitize_html
Maintenance
7
Quality
15
Community
5
Popularity
6
Documentation
10
mailrs-clean
Maintenance
19
Quality
16
Community
6
Popularity
2
Documentation
13
html-entity-fix
Maintenance
12
Quality
15
Community
6
Popularity
1
Documentation
15
Technical Details
| sanitize_html | mailrs-clean | html-entity-fix | |
|---|---|---|---|
| Version | 0.10.0 | 1.0.3 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | Apache-2.0 OR MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 2 | 0 |
| Crate Size | 17KB | 23KB | 7KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | — | 1.74 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mailrs-clean leads with a health score of 56/100, but none of the options score above 80.
- •sanitize_html has the most downloads (108.9K), suggesting wider adoption.
- •sanitize_html, html-entity-fix are pre-1.0 — API may change.