Decision Workspace
htmlize vs html-escape vs hescape
Side-by-side comparison of Rust crates
66
htmlize
stablev1.1.0
Correctly encode and decode HTML entities in UTF-8
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.
Core Metrics
| htmlize | html-escape | hescape | |
|---|---|---|---|
| Health Score | 66 | 54 | 44 |
| Total Downloads | 2.9M | 27.4M | 197 |
| 30d Downloads | 463.6K | 2.8M | 0 |
| Dependents | 178 | 5.1K | 10 |
| Releases | 11 | 15 | 1 |
| Last Updated | 42d ago | 1249d ago | 128d ago |
| Age | 6y 5m | 5y 11m | 4m |
Health Breakdown
htmlize
Maintenance
13
Quality
21
Community
12
Popularity
8
Documentation
12
html-escape
Maintenance
4
Quality
17
Community
15
Popularity
8
Documentation
10
hescape
Maintenance
7
Quality
15
Community
9
Popularity
3
Documentation
10
Technical Details
| htmlize | html-escape | hescape | |
|---|---|---|---|
| Version | 1.1.0 | 0.2.13 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT/Apache-2.0 |
| Dependencies | 10 | 2 | 0 |
| Crate Size | 75KB | 23KB | 24KB |
| Features | 7 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| 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.