Decision Workspace
rune-html-encode vs html-escape vs htmlize
Side-by-side comparison of Rust crates
40
rune-html-encode
experimentalv0.1.0
HTML entity encoding and decoding — escape and unescape HTML special characters
64
html-escape
growingv0.2.15
This library is for encoding/escaping special characters in HTML and decoding/unescaping HTML entities as well.
62
htmlize
growingv1.1.0
Correctly encode and decode HTML entities in UTF-8
Core Metrics
| rune-html-encode | html-escape | htmlize | |
|---|---|---|---|
| Health Score | 40 | 64 | 62 |
| Total Downloads | 28 | 44.6M | 5.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 6.7K | 530 |
| Releases | 1 | 17 | 11 |
| Last Updated | 132d ago | 69d ago | 179d ago |
| Age | 4m | 6y 3m | 6y 10m |
Health Breakdown
rune-html-encode
Maintenance
7
Quality
15
Community
6
Popularity
2
Documentation
10
html-escape
Maintenance
12
Quality
17
Community
15
Popularity
8
Documentation
12
htmlize
Maintenance
8
Quality
21
Community
13
Popularity
8
Documentation
12
Technical Details
| rune-html-encode | html-escape | htmlize | |
|---|---|---|---|
| Version | 0.1.0 | 0.2.15 | 1.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 1 | 10 |
| Crate Size | 4KB | 25KB | 75KB |
| Features | 0 | 2 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 1.58 | 1.60 |
| 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.
- •rune-html-encode, html-escape are pre-1.0 — API may change.