Decision Workspace
hescape vs html-escape vs htmlize
Side-by-side comparison of Rust crates
46
hescape
experimentalv0.1.0
A fast and lightweight HTML escape/unescape library for Rust.
54
html-escape
growingv0.2.13
This library is for encoding/escaping special characters in HTML and decoding/unescaping HTML entities as well.
57
htmlize
growingv1.0.6
Encode and decode HTML entities in UTF-8 according to the standard
Core Metrics
| hescape | html-escape | htmlize | |
|---|---|---|---|
| Health Score | 46 | 54 | 57 |
| Total Downloads | 128 | 22.3M | 1.9M |
| 30d Downloads | 18 | 2.6M | 588.9K |
| Dependents | 10 | 4.8K | 82 |
| Releases | 1 | 15 | 10 |
| Last Updated | 69d ago | 1190d ago | 335d ago |
| Age | 2m | 5y 9m | 6y 3m |
Health Breakdown
hescape
Maintenance
9
Quality
15
Community
9
Popularity
3
Documentation
10
html-escape
Maintenance
4
Quality
17
Community
15
Popularity
8
Documentation
10
htmlize
Maintenance
6
Quality
21
Community
11
Popularity
7
Documentation
12
Technical Details
| hescape | html-escape | htmlize | |
|---|---|---|---|
| Version | 0.1.0 | 0.2.13 | 1.0.6 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT/Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 10 |
| Crate Size | 24KB | 23KB | 73KB |
| Features | 0 | 2 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 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.
- •hescape, html-escape are pre-1.0 — API may change.