Decision Workspace
html-escape vs hescape vs htmlize
Side-by-side comparison of Rust crates
54
html-escape
growingv0.2.13
This library is for encoding/escaping special characters in HTML and decoding/unescaping HTML entities as well.
44
hescape
experimentalv0.1.0
A fast and lightweight HTML escape/unescape library for Rust.
66
htmlize
stablev1.1.0
Correctly encode and decode HTML entities in UTF-8
Core Metrics
| html-escape | hescape | htmlize | |
|---|---|---|---|
| Health Score | 54 | 44 | 66 |
| Total Downloads | 27.4M | 197 | 2.9M |
| 30d Downloads | 2.8M | 0 | 463.6K |
| Dependents | 5.1K | 10 | 178 |
| Releases | 15 | 1 | 11 |
| Last Updated | 1249d ago | 128d ago | 42d ago |
| Age | 5y 11m | 4m | 6y 5m |
Health Breakdown
html-escape
Maintenance
4
Quality
17
Community
15
Popularity
8
Documentation
10
hescape
Maintenance
7
Quality
15
Community
9
Popularity
3
Documentation
10
htmlize
Maintenance
13
Quality
21
Community
12
Popularity
8
Documentation
12
Technical Details
| html-escape | hescape | htmlize | |
|---|---|---|---|
| Version | 0.2.13 | 0.1.0 | 1.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 0 | 10 |
| Crate Size | 23KB | 24KB | 75KB |
| Features | 2 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | — | 1.60 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •htmlize leads with a health score of 66/100, but none of the options score above 80.
- •html-escape has the most downloads (27.4M), suggesting wider adoption.
- •html-escape is depended on by 5.1K crates — strongest ecosystem trust.
- •⚠ html-escape has not been updated in over a year.
- •html-escape, hescape are pre-1.0 — API may change.