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.
46
hescape
experimentalv0.1.0
A fast and lightweight HTML escape/unescape library for Rust.
57
htmlize
growingv1.0.6
Encode and decode HTML entities in UTF-8 according to the standard
Core Metrics
| html-escape | hescape | htmlize | |
|---|---|---|---|
| Health Score | 54 | 46 | 57 |
| Total Downloads | 22.3M | 128 | 1.9M |
| 30d Downloads | 2.6M | 18 | 588.9K |
| Dependents | 4.8K | 10 | 82 |
| Releases | 15 | 1 | 10 |
| Last Updated | 1190d ago | 69d ago | 335d ago |
| Age | 5y 9m | 2m | 6y 3m |
Health Breakdown
html-escape
Maintenance
4
Quality
17
Community
15
Popularity
8
Documentation
10
hescape
Maintenance
9
Quality
15
Community
9
Popularity
3
Documentation
10
htmlize
Maintenance
6
Quality
21
Community
11
Popularity
7
Documentation
12
Technical Details
| html-escape | hescape | htmlize | |
|---|---|---|---|
| Version | 0.2.13 | 0.1.0 | 1.0.6 |
| 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 | 73KB |
| 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 57/100, but none of the options score above 80.
- •html-escape has the most downloads (22.3M), suggesting wider adoption.
- •html-escape is depended on by 4.8K crates — strongest ecosystem trust.
- •⚠ html-escape has not been updated in over a year.
- •html-escape, hescape are pre-1.0 — API may change.