Decision Workspace
htmlize vs html-escape vs hescape
Side-by-side comparison of Rust crates
62
htmlize
growingv1.1.0
Correctly encode and decode HTML entities in UTF-8
64
html-escape
growingv0.2.15
This library is for encoding/escaping special characters in HTML and decoding/unescaping HTML entities as well.
43
hescape
experimentalv0.1.0
A fast and lightweight HTML escape/unescape library for Rust.
Core Metrics
| htmlize | html-escape | hescape | |
|---|---|---|---|
| Health Score | 62 | 64 | 43 |
| Total Downloads | 5.4M | 44.6M | 11.2K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 530 | 6.7K | 10 |
| Releases | 11 | 17 | 1 |
| Last Updated | 179d ago | 69d ago | 266d ago |
| Age | 6y 10m | 6y 3m | 8m |
Health Breakdown
htmlize
Maintenance
8
Quality
21
Community
13
Popularity
8
Documentation
12
html-escape
Maintenance
12
Quality
17
Community
15
Popularity
8
Documentation
12
hescape
Maintenance
4
Quality
15
Community
9
Popularity
5
Documentation
10
Technical Details
| htmlize | html-escape | hescape | |
|---|---|---|---|
| Version | 1.1.0 | 0.2.15 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT/Apache-2.0 |
| Dependencies | 10 | 1 | 0 |
| Crate Size | 75KB | 25KB | 24KB |
| Features | 7 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.60 | 1.58 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •html-escape leads with a health score of 64/100, but none of the options score above 80.
- •html-escape is depended on by 6.7K crates — strongest ecosystem trust.
- •html-escape, hescape are pre-1.0 — API may change.