Decision Workspace
html-validation vs garde vs dom_sanitizer
Side-by-side comparison of Rust crates
39
html-validation
growingv0.1.2
Validation for HTML elements and attributes
58
garde
growingv0.22.1
Validation library
56
dom_sanitizer
experimentalv0.6.0
Flexible HTML sanitization for Rust — build policies and sanitize documents easily.
Core Metrics
| html-validation | garde | dom_sanitizer | |
|---|---|---|---|
| Health Score | 39 | 58 | 56 |
| Total Downloads | 25.0K | 1.7M | 4.6K |
| 30d Downloads | 584 | 196.6K | 306 |
| Dependents | 36 | 547 | 2 |
| Releases | 3 | 36 | 9 |
| Last Updated | 2123d ago | 117d ago | 12d ago |
| Age | 7y | 3y | 10m |
Health Breakdown
html-validation
Maintenance
3
Quality
15
Community
7
Popularity
5
Documentation
9
garde
Maintenance
13
Quality
16
Community
10
Popularity
7
Documentation
12
dom_sanitizer
Maintenance
21
Quality
15
Community
4
Popularity
4
Documentation
12
Technical Details
| html-validation | garde | dom_sanitizer | |
|---|---|---|---|
| Version | 0.1.2 | 0.22.1 | 0.6.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 1 | 19 | 4 |
| Crate Size | 3KB | 48KB | 24KB |
| Features | 0 | 13 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.84 | 1.75 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •garde leads with a health score of 58/100, but none of the options score above 80.
- •garde is depended on by 547 crates — strongest ecosystem trust.
- •⚠ html-validation has not been updated in over a year.